Numeric parts of versions can be negative

Bug #928470 reported by Cruz Bishop on 2012-02-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aurora
High
Cruz Bishop
Modger
Low
Cruz Bishop
Sourcery
Low
Cruz Bishop
Versioneer
High
Cruz Bishop

Bug Description

The numeric parts of each Version class can be negative.

Areas found:

GenericVersion - Major, minor, build, revision
ThreePartVersion - Major, minor, build
TwoPartVersion - Major, minor
NumericVersion - Version

This can produce output such as

GenericVersion: 1.0.-5.2, -3.-1.4.2
ThreePartVersion: -1.2.-3, 1.-2.-3
TwoPartVersion: -1.2, 1.-2, -1.-2
NumericVersion: -265

This is bad. Negative numbers must never be used.

Versions affected:

1.1.0.0
1.1.1.0 snapshots

Changed in versioneer:
status: In Progress → Fix Committed
Changed in aurora-runescape-server-emulator:
status: New → Confirmed
Changed in modger:
status: New → Confirmed
Changed in sourcery:
status: New → Confirmed
Changed in aurora-runescape-server-emulator:
importance: Undecided → High
Changed in modger:
importance: Undecided → Low
Changed in sourcery:
importance: Undecided → Low
Changed in aurora-runescape-server-emulator:
assignee: nobody → Cruz Bishop (cruzjbishop)
Changed in modger:
assignee: nobody → Cruz Bishop (cruzjbishop)
Changed in sourcery:
assignee: nobody → Cruz Bishop (cruzjbishop)
Changed in aurora-runescape-server-emulator:
milestone: none → 0.0.0.3
Changed in modger:
milestone: none → 1.0.0.0
Changed in sourcery:
milestone: none → 1.0.0.0
Changed in versioneer:
status: Fix Committed → Fix Released
Changed in modger:
status: Confirmed → Fix Committed
Changed in sourcery:
status: Confirmed → Fix Committed
Changed in aurora-runescape-server-emulator:
status: Confirmed → Fix Committed
Changed in aurora-runescape-server-emulator:
status: Fix Committed → Fix Released
Changed in modger:
status: Fix Committed → Fix Released
Changed in sourcery:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers