Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11777

CPConverter - Sling Initial Content - default nodetype - filevault upgrade

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              Unassigned Unassigned
              Sc0rpic0m Niek Raaijmakers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: