[ 
https://issues.apache.org/jira/browse/SLING-9614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-9614.
-------------------------------------
    Resolution: Fixed

Fixed in 
https://github.com/apache/sling-org-apache-sling-feature/commit/ecec4f853f36df390e9f6dd61fea80eea9a32be0

> 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
>            Priority: Critical
>             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)

Reply via email to