MDL-53507 quiz editing: was possible to lose questions
authorTim Hunt <T.J.Hunt@open.ac.uk>
Sun, 20 Mar 2016 22:02:51 +0000 (22:02 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 21 Mar 2016 23:14:53 +0000 (23:14 +0000)
commit0c8a90d7cb5b877fb68dc371fdf3875e0a14ae6a
tree48987f3055f525b40c1f7398c741765a9acd2e98
parentfed66ad9e2efd3a88a42298a5d6bf71dada3ffd7
MDL-53507 quiz editing: was possible to lose questions

If you dragged a question to the top of the quiz, it could
disappear. Several other cases of dragging questions to the
same place in sequence, but to a different page/section were
also failing, and have been fixed.
mod/quiz/classes/structure.php
mod/quiz/db/upgrade.php
mod/quiz/tests/structure_test.php
mod/quiz/version.php