crf-devs/resop

MissionType : collections are not creating valid json arrays

Closed this issue · 0 comments

When playing with required asset types / skills form collections in mission type (adding / suppressing several items before submitting) the json saved in DB will not be an array, but a json object with numeric keys.
The solution would be to use data transformer on these fields with array_values