You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Matějček (Jira)" <ji...@apache.org> on 2022/05/19 12:24:00 UTC

[jira] [Created] (FELIX-6533) Felix released as milestone version cannot parse it's own version id

David Matějček created FELIX-6533:
-------------------------------------

             Summary: Felix released as milestone version cannot parse it's own version id
                 Key: FELIX-6533
                 URL: https://issues.apache.org/jira/browse/FELIX-6533
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-7.0.3
            Reporter: David Matějček
             Fix For: framework-7.0.4


We tried to prerelease a custom built version for GlassFish, but it it not able to start now.
h3. Cause

I found that it tries to "cleanup" the Maven version, but does it wrong and then tries to parse the result again which fails.

*Solution*

I am creating PR right after this issue. Felix already has the correct implementation usable for this, so I just moved it to the Version class (which seems to be a natural place for this), updated all references and also extended tests. It is backward compatible despite the bit of refactoring.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)