Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322673 - Generator version (OSGi) is not saved properly to tigerstripe.xml file.
Summary: Generator version (OSGi) is not saved properly to tigerstripe.xml file.
Status: RESOLVED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: Plugin (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 12:46 EDT by Jim Strawn CLA
Modified: 2010-08-13 15:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Strawn CLA 2010-08-13 12:46:22 EDT
When a user defines a generator version (OSGi) with a "maximum" constraint value and then tries to modify that value (for example, by removing the constraint) the change is not saved back to the Tigerstripe.xml definition file.
Comment 1 Jim Strawn CLA 2010-08-13 12:48:06 EDT
Assigned to Richard
Comment 2 Richard Craddock CLA 2010-08-13 12:52:18 EDT
The editor was trying to convert an empty string to a version which throws an exception - which was ignored. Correct behaviour is to unset the version if the string is empty.
Comment 3 Jim Strawn CLA 2010-08-13 15:46:27 EDT
Added some tweaks to support editing (was running into an error in the case that the input string was not a valid OSGi version.