-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
2.9.2
-
MOODLE_29_STABLE
-
MDL-51682_master -
- Run the unittest
-
2
-
CBE Sprint 2
There are a few problems with the handling of sortorder in the models. Those points are all related to each other:
- New sortorders are created based on the number of rows in a table
- When an entry is deleted, the sortorder is left untouched perhaps causing holes
- E.g. sortorders 1, 2, 3, 4 and 3 is deleted leads to 1, 2, 4
- Reordering is substracting/adding 1 to the sortorder, which is the problem when holes already exist.
- has been marked as being related by
-
MDL-51506 Implement validation mechanisms in persistent derived classes
-
- Closed
-