You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2026/09/29 13:06:00 UTC
[jira] [Created] (SLING-13369) feature-cpconverter: Restrict and validate package dependencies of generated mutable packages
Konrad Windszus created SLING-13369:
---------------------------------------
Summary: feature-cpconverter: Restrict and validate package dependencies of generated mutable packages
Key: SLING-13369
URL: https://issues.apache.org/jira/browse/SLING-13369
Project: Sling
Issue Type: Improvement
Components: Content-Package to Feature Model Converter
Reporter: Konrad Windszus
Currently a non resolvable mutable content package dependency is just passed on as is into the resulting package. Only those package dependencies are mapped which are pointing to known mutable package ids (in [https://github.com/apache/sling-org-apache-sling-feature-cpconverter/blob/e2dc780ec226b38748d71b68b9872e9fa221adcc/src/main/java/org/apache/sling/feature/cpconverter/ContentPackage2FeatureModelConverter.java#L518).]
In addition there should be:
* Removal of dependencies towards immutable package ids (as those packages are dissolved)
* Validation of remaining package ids so that only those contained in the passed packages are allowed. Violations should lead to exceptions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)