Karl Pauls created SLING-10403:
----------------------------------

             Summary: Converter does not override existing package dependencies 
when it doesn't have any dependencies
                 Key: SLING-10403
                 URL: https://issues.apache.org/jira/browse/SLING-10403
             Project: Sling
          Issue Type: Bug
          Components: Content-Package to Feature Model Converter
    Affects Versions: Content-Package to Feature Model Converter 1.1.0
            Reporter: Karl Pauls
            Assignee: Karl Pauls
             Fix For: Content-Package to Feature Model Converter 1.1.2


We used to not copy the dependencies from the properties of content packages. 
However, with SLING-10205 we started doing so. That would be fine, as we 
override the dependencies with the ones we want anyways - however, we don't do 
that in case we don't have any dependencies: 

https://github.com/apache/sling-org-apache-sling-feature-cpconverter/blob/master/src/main/java/org/apache/sling/feature/cpconverter/vltpkg/VaultPackageUtils.java#L93

We need to remove the dependencies key if we don't have any dependencies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to