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

Bug 317035

Summary: [Clipboard] Clipboard support factories with a lowest priority will never be found
Product: [Modeling] GMF-Runtime Reporter: Mariot Chauvin <mariot.chauvin>
Component: GeneralAssignee: Mariot Chauvin <mariot.chauvin>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: steven.punte
Version: 2.3   
Target Milestone: 1.4.2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch of ClipboardSupportManager for head none

Description Mariot Chauvin CLA 2010-06-16 08:07:21 EDT
Created attachment 172030 [details]
patch of ClipboardSupportManager for head

In ClipboardSupportManager class the iteration is done with the following code :

for (int i = PRIORITIES.size() - 1; i > 0; i--) {
   ...
}

It means that PRIORITIES[0] will never be proceed in the loop.
Comment 1 Steven Punte CLA 2010-06-16 21:16:42 EDT
This bug is also discussed in:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=306500
Comment 2 Eclipse Webmaster CLA 2010-07-19 12:24:54 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime EMF was the original product and component for this bug
Comment 3 Mariot Chauvin CLA 2010-10-13 10:52:18 EDT
Committed patch to both R 1.4 maintenance and trunk. So fix will be available in both GMF Runtime 1.4.1 (included in Helios SR2) and GMF Runtime 1.5.0 (included in Indigo).