[ALOY-552] Alloy generates erroneous code to set an event listener inside a repetition view
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-18T19:27:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.1.0, 2013 Sprint 06 |
Components | Runtime, XML |
Labels | alloy, alloy-generate, qe-port |
Reporter | Andrey Chirikba |
Assignee | Tony Lukasavage |
Created | 2013-03-12T11:28:58.000+0000 |
Updated | 2013-05-01T14:56:29.000+0000 |
Description
When using XML markup to set an event listener on an element inside a repetition view, Alloy generates erroneous code. The auto-generated object ids are not counted correctly, which leads to using one id to create an object and another id to try and set an event listener on it. Consider this snippet:Attachments
File | Date | Size |
---|---|---|
RepeaterTestcase.zip | 2013-03-12T11:28:58.000+0000 | 38300 |