Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Component/s: Artifacts and Repositories
-
Labels:None
-
Complexity:Novice
-
Number of attachments :
Description
Found while searching for MNG-1207
a call to VersionRange.getSelectedVersion() will return the upper bound even if the upper bound is exclusive. (and isSelectedVersionKnown would return false). This method should throw an exception if the selectedVersion is not known.
else
{
Restriction restriction = (Restriction) restrictions.get( restrictions.size() - 1 );
version = restriction.getUpperBound();
if ( version == null )
}
Issue Links
- duplicates
-
MNG-1142
restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1
-