-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 5.6
-
Fix Version/s: None
-
Component/s: Publishing
- I create a doc type MyDomain that can be created into root container
- I create an instance of this document type
- I create a SectionRoot in it and some sections
- I add a contribution to declare this new Section Root container
<extension target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl" point="treeInstance"> <publicationTreeConfig name="MySectionsTree" tree="RootSectionsCoreTree" factory="CoreProxy" localSectionTree="true" title="UER" > <parameters> <parameter name="RootPath">/myDomain/sections</parameter> <parameter name="enableSnapshot">true</parameter> <parameter name="iconExpanded">/icons/folder_open.gif</parameter> <parameter name="iconCollapsed">/icons/folder.gif</parameter> </parameters> </publicationTreeConfig> </extension>
- I publish a document in a section created above
- I have an error
=> Stackover flow because there is a recursive method to find the root container with this following end clause:
AbstractPublishActions#getPathFragments if (documentModel.getType().startsWith("Domain")) { return; }
- duplicates
-
NXP-11348 Getting infinite loops when using publication on domains that do not use the Domain doctype
- Resolved