| Summary: | inconsistent models after #copyBean in MasterDetailsRidget with ToggleButtonRidget in details area | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Holger Hoch <holger.hoch> | ||||||||
| Component: | ridget | Assignee: | Elias Volanakis <elias> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | critical | ||||||||||
| Priority: | P3 | CC: | christian.campo, elias | ||||||||
| Version: | 2.0.0 | ||||||||||
| Target Milestone: | 3.0.0.M4 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 303179 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Holger Hoch
Created attachment 173637 [details]
java class to reproduce bug
Reproducible. This is a conceptual issue with the ridgets embedded in the details area. The order how listeners are notified is not guaranteed, so the master details ridget may look at the model before it is actually changed. For text ridgets I've added the "textAfter" property but I think we need a permanent fix or a new official event (like "afterUpdate"). Offer to look at this in the next sprint. Created attachment 174461 [details]
Snippet to reproduce issue
Slightly modified snippet (tracing code, apply button)
Created attachment 184830 [details]
Fix
The attached patch fixes all occurrences of this issue (in ToggleButtonRidget and elsewhere). Attaching for reference purposes.
Resolved in HEAD. |