Servoy 6.1 rc2

Hi guys.

Reckon this is a bug or my code is funny?
Concatenating two arrays holding JSLabel objects and assigning the result to the first array adds the second array to the first one as one array type element.

Before concatenation, two arrays are like this:
[attachment=1]1.png[/attachment]

After executing tempLabels = tempLabels.concat(tempForm.getLabels()); - my resulting array is this:
[attachment=0]2.png[/attachment]

The actual result of tempLabels.concat(tempForm.getLabels()) is a proper array of JSLabels, however.

This is Version: 6.1.0 rc3 - build 1415.

Used to work well in Version: 6.0.6 - build 1232.

Cheers,
Maria

Maria, did you create a case for that?

studiomiazzo:
That worked, thanks. However something must be changed in the solution format, since after upgrading and using the same workspace I could no longer open old solutions with 6.0.6. A ‘Corrupt data’ (or something like that) error message shown up…

do you have any more log in the servoy or workspace log files?
I think it can’t read in some specific file, maybe you have a merge conflict in one (i have seen that a lot)

jcompagner:
Maria, did you create a case for that?

Nope. Should I?

Cheers,
Maria

yes, please do (with a simple example if possible)