add few child eforms with different record types (ChildForm Job RT1 and ChildForm Job RT2)
Expected Result
forms added correctly
Actual Result
sometimes there are double or triple entries on child eForms with identical SyncID
i you leave the screen and then come back extra copies of child eForms disappear from the screen.
Analysis
The `viewmodels/children` middleware isn’t being disposed the same number of times it’s activated. This leaves “zombie” event listeners around, causing event handling to be doubled up. I think the disposal issues are caused by us asking durandal to route the the list screen twice (thereby causing it to be bound multiple times).
Mingle Card: 4957 Steps to Reproduce
Expected Result
forms added correctly
Actual Result
sometimes there are double or triple entries on child eForms with identical SyncID
i you leave the screen and then come back extra copies of child eForms disappear from the screen.
Analysis
The `viewmodels/children` middleware isn’t being disposed the same number of times it’s activated. This leaves “zombie” event listeners around, causing event handling to be doubled up. I think the disposal issues are caused by us asking durandal to route the the list screen twice (thereby causing it to be bound multiple times).
Related Cards
Test Plan