Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357589

Summary: [refactoring] ReferenceDescriptionSorter should use IStorage2UriMapper
Product: [Modeling] TMF Reporter: Knut Wannheden <knut.wannheden>
Component: XtextAssignee: Jan Koehnlein <jan>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan, sven.efftinge, tmf.xtext-inbox
Version: 2.0.1Flags: sven.efftinge: indigo+
Target Milestone: SR2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch sven.efftinge: iplog+

Description Knut Wannheden CLA 2011-09-14 02:28:41 EDT
ReferenceDescriptionSorter#sortByProject() currently assumes that the first segment of a reference's source URI corresponds to the Eclipse project name of the reference. This is only true for platform:/resource URIs. Instead the code should be using the IStorage2UriMapper for this. See attached patch for details.
Comment 1 Knut Wannheden CLA 2011-09-14 02:29:07 EDT
Created attachment 203316 [details]
patch
Comment 2 Jan Koehnlein CLA 2011-09-14 07:12:15 EDT
Yep, you are right. I often forget about your speceial scenario. 
Patch applied. Thanks.
Comment 3 Karsten Thoms CLA 2017-09-19 16:55:56 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:06:49 EDT
Closing all bugs that were set to RESOLVED before Neon.0