Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60883

Changing response on a full option can reply and error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3.3, 3.4
    • Fix Version/s: None
    • Component/s: Choice, Web Services
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course and with one student.
      2. Create a choice with the following settings:
        1. Allow choice to be updated: Yes
        2. Allow more than one choice to be selected: Yes
        3. Limit the number of responses allowed: Yes
        4. 3 options, limitted to one response.
      3. Using the app, submit the choice selecting the first option (so it gets filled)
      4. Now change your answer to options first and third and save again.
      5. The first option is already filled by you previously but it should NOT return any error.
      Show
      Create a course and with one student. Create a choice with the following settings: Allow choice to be updated: Yes Allow more than one choice to be selected: Yes Limit the number of responses allowed: Yes 3 options, limitted to one response. Using the app, submit the choice selecting the first option (so it gets filled) Now change your answer to options first and third and save again. The first option is already filled by you previously but it should NOT return any error.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      On a multiple choice with Limit the number of responses allowed and Allow choice to be updated enabled. When changing your responses if you previously filled an option, you will get the error that the option is full. (Check testing instructions for more info)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pferre22 Pau Ferrer
                Participants:
                Component watchers:
                Dan Marsden, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Juan Leyva, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: