Bug 182666 - Version trailing spaces need to be ignored in configurator
Summary: Version trailing spaces need to be ignored in configurator
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-04-16 21:47 EDT by James D. Miles CLA
Modified: 2007-06-05 16:36 EDT (History)
2 users (show)

See Also:


Attachments
trim bundle version (1.66 KB, patch)
2007-04-17 14:20 EDT, James D. Miles CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James D. Miles CLA 2007-04-16 21:47:15 EDT
We had a customer generate bundle manifests with trailing spaces on the version id. For managed only the feature gets enabled but the bundles do not get loaded. This patch will trim leading and trailing spaces on the version id.

Per Thomas Watson
The way I read the OSGi specification it *does* allow trailing spaces on the Bundle-Version header and they should be ignored. It seems reasonable to me that PDE flags these as warnings/errors because it is likely the developer really did not intend for there to be spaces. But technically update configurator should be able to handle trailing spaces.
Comment 1 James D. Miles CLA 2007-04-17 14:20:22 EDT
Created attachment 64075 [details]
trim bundle version
Comment 2 Dejan Glozic CLA 2007-04-17 15:06:51 EDT
Thanks.