Details
-
Improvement
-
Status: Resolved
-
Blocker
-
Resolution: Abandoned
-
None
-
None
-
None
Description
To solve a problem with default nodetype being nt:folder while it should be sling:Folder for sling initial content parsed by the cpconverter, we implemented a workaround back in the day using create path statements for each folder. The subsequent package installation with filters containing mode=update, would overwrite the primaryType where it was defined in the source package. This worked in filevault 3.4.0.
However with filevault 3.6.0+ the primaryType is no longer updated with the filter update, so we need a new approach / workaround.
The new approach is to provide .content.xml files for all the parents (up to /jcr:root/apps/parent, but not jcr:root/apps) in the package. Then we use the replace filter instead ( should correspond with the original sling initial content behaviour, see source code)
We also need to update the merge to merge_properties filter, as merge is now deprecated.
Attachments
Issue Links
- links to