unable to set fields of a collection-property elements after changing their order (elements becoming
- by Jaroslav Záruba
Hello
I want to change order of objects in a collection, and then to access+modify fields of those items. Unfortunately the items somehow become 'deleted'.
This is what I do...
if(someCondition)
{
MainEvent mainEvent = pm.getObjectById(MainEvent.class, mainEventKey);
/*
* events in the original order
* MainEvent.subEvents field is not…