Carsten Ziegeler created SLING-9614:
---------------------------------------
Summary: ArtifactId.compareTo is using simple string compare
Key: SLING-9614
URL: https://issues.apache.org/jira/browse/SLING-9614
Project: Sling
Issue Type: Bug
Components: Feature Model
Affects Versions: Feature Model 1.2.4
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: Feature Model 1.2.6
The current implementation of ArtifactId.compareTo is doing a string compare -
which works for most of the parts of the id, except for version. With a string
compare, for example "1.7" is regarded higher than "1.11" (as 7 is higher than
1)
The compareTo method must take the version into account and do a proper compare
based on the version
--
This message was sent by Atlassian Jira
(v8.3.4#803005)