Bug 150904 - [api] SystemBasePlugin.getIconPath() changed without notice
Summary: [api] SystemBasePlugin.getIconPath() changed without notice
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0   Edit
Assignee: David Dykstal CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2006-07-18 04:43 EDT by Martin Oberhuber CLA
Modified: 2008-08-13 13:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2006-07-18 04:43:34 EDT
On April 27, 2006, the following change modified the documented API result of
SystemBasePlugin.getIconPath():

SystemBasePlugin:1.5
ddykstal
Changed the way images URLs are constructed. Used "/" as separator everywhere instead of File.separator. URLs must use "/". When packaging plugins as jars, the URL requirements appear to be much more strict.

Old clients who were used to do getIconPath() expected a result of "icons/"
but now they get "icons"

I think the API should be reverted to its original state.
Comment 1 David Dykstal CLA 2006-08-07 11:42:30 EDT
getIconPath was changed back to providing the trailing "/".
All code using getIconPath (including samples and tutorials) was checked to ensure this was taken into account.
Comment 2 Martin Oberhuber CLA 2008-08-13 13:05:45 EDT
[target cleanup] 1.0 M4 was the original target milestone for this bug