Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Content-Package to Feature Model Converter 1.0.24
-
None
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
- is related to
-
SLING-10233 Optionally split mixed content packages into mutable and immutable ones
- Open
-
SLING-10234 Recalculate package type for converted packages
- Closed
- relates to
-
JCRVLT-509 Make DocView import failures fail the whole installation
- Closed
- links to