Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317035 - [Clipboard] Clipboard support factories with a lowest priority will never be found
Summary: [Clipboard] Clipboard support factories with a lowest priority will never be ...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.3   Edit
Hardware: All All
: P3 major
Target Milestone: 1.4.2   Edit
Assignee: Mariot Chauvin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 08:07 EDT by Mariot Chauvin CLA
Modified: 2010-10-13 10:52 EDT (History)
1 user (show)

See Also:


Attachments
patch of ClipboardSupportManager for head (1.60 KB, patch)
2010-06-16 08:07 EDT, Mariot Chauvin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).