Moodle

Change the delete links to use question id to control what to delete

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

There is a risk that a user deletes a wrong question if someone else has reordered quiz: Since questions are deleted from quiz based on their ordinal in the quiz, a user may end up deleting a wrong question if the quiz has changed since he reloaded the edit page.

Tim: "Why not change the delete links so that they use something unambiguous like the question id to control what to delete?"

Activity

Hide
Tim Hunt added a comment -

Note to self: only the up, down and delete icons are affected. The bulk action checkboxes use questionid.

Show
Tim Hunt added a comment - Note to self: only the up, down and delete icons are affected. The bulk action checkboxes use questionid.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: