-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 2021.45
-
Fix Version/s: None
-
Component/s: Core
A RootFactory structure template is defined in Studio for the Root doctype. This should only be invoked when the Root folder is created i.e. when Nuxeo starts with an empty repository.
In current scenario, when Nuxeo is restarted, the /default-domain Domain doctype is re-created (even though Root exists).
Expected Behaviour
When Nuxeo restarts (and Root exists), the RootFactory structure should have no effect. The Domain at /default-domain should not be created if it did not exist before.
Actual Behaviour
When Nuxeo restarts (and Root exists), the Domain at /default-domain is created (and its default children i.e. Sections, Templates, Workspaces).
Notes
- the Studio JAR being deployed is bundled in a Java package, using
<studio.project.version>master-SNAPSHOT</studio.project.version>
- this version of the Studio bundle contains the RootFactory definition at: .metadata/RootFactory.tpl.xml (see attached, sanitised). Notably this version does not include any <canOverrideType> declaration
- see also attached: OSGI-INF/extensions.xml (excerpt)
- is related to
-
NXP-28958 Adding a new item within a new template doesn't work
- Resolved