You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "A. J. David Bosschaert (Jira)" <ji...@apache.org> on 2020/10/28 17:10:00 UTC
[jira] [Created] (SLING-9860) When merging artifacts with the ALL
strategy, incorrect feature-origin metadata is recorded
A. J. David Bosschaert created SLING-9860:
---------------------------------------------
Summary: When merging artifacts with the ALL strategy, incorrect feature-origin metadata is recorded
Key: SLING-9860
URL: https://issues.apache.org/jira/browse/SLING-9860
Project: Sling
Issue Type: Bug
Components: Feature Model
Affects Versions: Feature Model 1.2.10
Reporter: A. J. David Bosschaert
Assignee: A. J. David Bosschaert
Fix For: Feature Model 1.2.12
When merging 2 features that both contain the same artifact, but in different versions, both artifacts are preserved, however, the feature-origins of one of the artifact contains both features instead of just its own feature.
For example Feature A contains:
* bundle org.foo:bar:1.2
And Feature B contains
* bundle org.foo:bar:1.3
Then once merged with the ALL strategy the resulting feature contains:
* bundle org.foo:bar:1.2 (origins A,B)
* bundle org.foo:bar:1.3 (origins B)
this is incorrect, the origins for version 1.2 should be just A, not both A and B.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)