Bug 126918 - [DataBinding] Need to refresh target after applying converter/validators
Summary: [DataBinding] Need to refresh target after applying converter/validators
Status: RESOLVED DUPLICATE of bug 238222
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 enhancement with 1 vote (vote)
Target Milestone: 3.3   Edit
Assignee: Dave Orme CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 136961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-08 10:05 EST by Dave Orme CLA
Modified: 2008-07-31 16:19 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Orme CLA 2006-02-08 10:05:51 EST
Converters can sometimes mutate values in such a way that the on-screen representation needs to be refreshed.  For example, a converter might uppercase all letters.  Or an intelligent converter/validator pair for dates might allow partial date entry and fill in the rest automatically based on rules derived from the current locale.

When this happens, the value in the target object currently gets out of sync with the model.

The solution appears to be to refresh the value in the target from the model after copying to the model and applying converters.

But you don't always want to do this.  For example, when binding inside the model tier, this is unnecessary and may even cause breakage depending on what the target is bound to.

So this will have to be a setting, probably in the IBindSpec, that triggers this behavior.
Comment 1 Dave Orme CLA 2006-02-15 18:32:48 EST
Moving to M6
Comment 2 Boris Bokowski CLA 2006-05-10 23:21:15 EDT
Changing priority to P2.
Comment 3 Dave Orme CLA 2006-06-07 22:35:12 EDT
*** Bug 136961 has been marked as a duplicate of this bug. ***
Comment 4 Mike Wilson CLA 2008-04-12 14:30:43 EDT
I'm seeing several databinding bugs marked P2, which means "we'd rather not ship without fixing these", that haven't seen any activity in the last year. Boris, can you go through these and make sure they are prioritized correctly.

Comment 5 Boris Bokowski CLA 2008-04-13 01:39:10 EDT
Still looks like a valid enhancement request (but just that).

McQ, will go through the remaining data binding P2 bugs. None of them look like they should be P2.
Comment 6 Ovidio Mallo CLA 2008-07-27 13:54:17 EDT
I'd say this is a duplicate of bug #238222.
Comment 7 Boris Bokowski CLA 2008-07-31 16:19:39 EDT
Agree.

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