Community
Participate
Working Groups
Build Identifier: 2.0.0 If using a ToggleButtonRidget within the details area of a MasterDetailsRidget that is configured to use direct writing the delegates #copyBean method is called *before* the model of the ToggleButtonRidget resulting in inconsistent models Reproducible: Always Steps to Reproduce: start attached code and click checkbox a few times
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.