You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (Jira)" <ji...@apache.org> on 2021/06/21 20:52:00 UTC

[jira] [Created] (SLING-10513) Merging artifact extensions will not preserve the feature origin of the first feature

Karl Pauls created SLING-10513:
----------------------------------

             Summary: Merging artifact extensions will not preserve the feature origin of the first feature
                 Key: SLING-10513
                 URL: https://issues.apache.org/jira/browse/SLING-10513
             Project: Sling
          Issue Type: Bug
          Components: Feature Model
    Affects Versions: Feature Model 1.2.22
            Reporter: Karl Pauls
            Assignee: Karl Pauls
             Fix For: Feature Model 1.2.24


When merging two features, the default merge for the artifact extensions (like e.g. the content-packages extension) will not preserve the origin of the first feature because it will just take the extension as is. Only the second feature will get the feature origin when it is merged into the first one. 

We should fix this by making sure the feature origin is written even for the first feature (the best way is probably to just merge the first feature with an empty extension just like the second one will be merged).



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