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

Keep modified content packages of type "content"

    XMLWordPrintableJSON

Details

    Description

      Currently in https://github.com/apache/sling-org-apache-sling-feature-cpconverter/blob/a21667f65a2bd503bd752c3cc6fb842caac90d90/src/main/java/org/apache/sling/feature/cpconverter/ContentPackage2FeatureModelConverter.java#L343 all generated/modified content packages of type "content" are just disregarded.

      If you have as input a content package of type "content" containing ACLs on mutable nodes, system users and arbitrary other mutable nodes, the first two are correctly extracted into a feature model but the content package is not modified, leading to the fact that the ACLs and system users are still contained in the content package.

      IMHO a modified content-package should be given out (and kept) as that one differs from the input content package!
      Otherwise you would try to install system users/ACLs again when installing the content package which might fail due to missing rights...

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: