Bug 342576 - Quick fix for missing Bundle-Version produces 1.0.0.0 which can cause confusion
Summary: Quick fix for missing Bundle-Version produces 1.0.0.0 which can cause confusion
Status: NEW
Alias: None
Product: Virgo
Classification: RT
Component: tooling (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 368782
  Show dependency tree
 
Reported: 2011-04-12 10:38 EDT by Martin Lippert CLA
Modified: 2012-01-16 18:21 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Lippert CLA 2011-04-12 10:38:04 EDT
Unfortunately, 1.0.0.0 has "0" for its String qualifier component. This could cause confusion because 1.0.0.0 > 1.

For example of confusion, Import-Bundle: ...;version="[1, 1]" will not resolve because 1.0.0.0 is not an elements of the range [1, 1].

See STS 1293 for steps to reproduce. Stop after the quick fix for the bundle version is applied.

Suggested solution: make the quick fix produce "1.0.0" instead (or, equivalently, "1" or "1.0").

(moved from: https://issuetracker.springsource.com/browse/STS-1294)