| Summary: | [ClientScripting] ClientListener and disposed Widgets | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Stefan Milchram <stefan.milchram> | ||||
| Component: | Incubator | Assignee: | Project Inbox <rap.incubator-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | tbuschto | ||||
| Version: | 2.0 | ||||||
| Target Milestone: | 2.1 M1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Stefan Milchram
Created attachment 224050 [details]
Snippet-plugin
We should get this fixed when updating the ClientScripting to RAP 2.0 RemoteObject API. The problem is that widgets (that use an LCA) are not rendered if they are created and disposed in the same request. However, object that use the Remote API (RemoteObject) are always rendered. In case of a ClientListener attached to a Text that is disposed in the same request, the widget is not rendered, but the client listener binding is. The solution is to skip the rendering of remote objects that are created and disposed in the same request. We might reconsider this fix once LCAs use the Remote API as well. Fixed in RAP with commit 9c72a18602bf234e9e1569adf995ffd665fc4ed8. |