Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.17, 6.2.12, 6.5.6
-
None
-
-
3dc0ae032 (dev), 90c55e859 (dev), aa253878f (6.8), 7342b73dd (6.8), f7182e012 (6.7), ca5bd206d (tqtc/lts-6.5), 0351ad8c6 (tqtc/lts-6.2), 17f782161 (tqtc/lts-5.15)
Description
I'm trying to swap elements of two ListModel instances.
For this both models are iterated and the data is read and stored in a javascript array. Then both models are cleared.
After that the two arrays should be added to the other model respectively.
But at the moment the models are cleared my array contents become invalid and error messages are logged to the console.
I have reproduced this behavior in a minimal example. See attachment.