| Summary: | [Client] "onRender" not invoked "sometimes" on multiple widgets of the same type | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Thomas Kratz <eiswind> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ivan, rsternberg, tbuschto |
| Version: | 2.1 | ||
| Target Milestone: | 2.2 M2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | sr212 | ||
|
Description
Thomas Kratz
Found it. Really dumb bug caused by calling rap.off for the currently fired type of event. Until it's fixed you should be able work around it by calling rap.off somewhere else (e.g. in destroy). Fixed in commit 2fcc38a1b3ea8344eadfeaa45c0dc2e35f778e47 (for RAP 2.2M2). Tim: Really great thanks for helping me out with this one! This will be a great leap in usability to my app. I needed some time to understand that concat() creates a copy and the original version allowed to manipulate the array while iterating. The test is also not very intuitive for mortals like me who don't understand constructs like "arguments.callee.caller". Anyway, this should not keep us from backporting the fix to 2.1.2. Backported to 2.1-maintenance branch with change https://git.eclipse.org/r/21247 |