-
Bug
-
Resolution: Fixed
-
Critical
-
2.9
-
None
-
-
Empty show more show less
-
Sprint 5 (Kromeriz)
-
2
The migrate theme task is private. It seems that existing non magnolia themes are not automatically migrated. Seems like the MigrateThemeTask can't be called by customers as it is a private inner class.
private class MigrateThemeTask extends NodeExistsDelegateTask { public MigrateThemeTask(final String themeName) { super( String.format("Copy %s theme to its new home", themeName), String.format("/modules/site/config/themes/%s", themeName), new WarnTask("Warn about already existing theme", String.format("Could not copy '%s' theme to new site module. Check you configuration at /modules/site/config/themes/%s", themeName, themeName)), new ArrayDelegateTask("", new CopyNodeTask(String.format("Copy %s theme to its new home", themeName), String.format("/modules/standard-templating-kit/config/themes/%s", themeName), String.format("/modules/site/config/themes/%s", themeName), false), new CheckOrCreatePropertyTask("", String.format("/modules/site/config/themes/%s", themeName), "class<span class="code-quote">", "info.magnolia.module.templatingkit.style.ThemeImpl") ) ); } }
Acceptance criteria