Bug #8319
closed
Changing row order with images unreliable
Added by krileon almost 4 years ago.
Updated over 3 years ago.
Start date:
29 December 2020
Description
Changing the order after enabling reordering when the field group contains an image field fails to move the image to the new row.
This will impact any upload based field since that data isn't present in POST to store it again. Need to figure out a behavior that keeps track of what row id a row moved to. Likely have to adjust CB Repeat itself to keep track of that by likely posting an input value that the row moved to a different index.
- % Done changed from 0 to 30
Partially improved due to #8415
Now needs the code to handle sorting before any storage behavior is applied. Basically if something moves from index 2 to index 1 we want to do that move before any save behavior letting us skip any unnecessary save behavior and ensuring the data is correctly moved.
- Status changed from Assigned to Resolved
- % Done changed from 30 to 100
Field groups will now properly re-index before processing storage behaviors to ensure existing values can't be lost.
- Status changed from Resolved to Closed
Also available in: Atom
PDF