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

Bug 251267

Summary: [Databinding] Status from MultiValidator may or may not be updated.
Product: [Eclipse Project] Platform Reporter: Yonghe Yan <yonghe.yan>
Component: UIAssignee: Matthew Hall <qualidafial>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, snorthov
Version: 3.4.1   
Target Milestone: 3.5 M6   
Hardware: All   
OS: Linux   
Whiteboard:

Description Yonghe Yan CLA 2008-10-17 14:31:29 EDT
Build ID: M20080911-1700

Steps To Reproduce:
After an observable that is used in a MultiValidator has be changed, the validate() method may or may not be called to re-evaluate the status.

This may be caused by a bug in MultiValidator.revalidate() method. The dependencies are generated in a thread and are consumed in another thread. However, there is no producer-consumer synchronization for these two thread. As a result, dependences may get lost randomly because of threads racing.

More information:
Comment 1 Matthew Hall CLA 2008-10-24 17:45:34 EDT
I don't follow you.  Could you provide a snippet, or a simple scenario that describes the problem?

Also, take a look at bug 237857 or bug 251003 and see if those are related to this bug.
Comment 2 Matthew Hall CLA 2008-10-24 19:03:39 EDT
I have a suspicion this is caused by bug 251003, which was just fixed in HEAD.  Could your try your application again and see if these latest changes fix your problem?
Comment 3 Chris Aniszczyk CLA 2008-10-26 14:43:08 EDT
Should this be considered for 3.4.2?
Comment 4 Matthew Hall CLA 2008-12-09 15:41:58 EST
Moving to M5
Comment 5 Matthew Hall CLA 2009-01-20 19:24:16 EST
Retargeting to 3.5M6
Comment 6 Matthew Hall CLA 2009-03-08 11:30:26 EDT
Since we haven't heard any further information from the reporter I will assume this is a dupe of 251003

*** This bug has been marked as a duplicate of bug 251003 ***