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

Question: Multi-choice Option to hide system 'Select ...'

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Before patch
      1. Create a quiz Quiz1 in a course "C1".
      2. Create a multiple choice "OldQ1" question and add it to this quiz.
      3. Backup the quiz.
      4. Go to the question bank.
      5. Export this question as a Moodle XML format. Let's call this file "OldXML"
      Upgrade test
      1. Upgrade your Moodle instance with the patch applied.
      2. Confirm that you do not encounter any errors during upgrade.
      3. Go to C1's question bank.
      4. Preview OldQ1.
      5. Confirm that you see "Select one:" before the options.
      6. Close the preview and edit OldQ1.
      7. Check the "Show standard instruction" select box.
      8. Confirm that it is set to "Yes".
      Restore from old backup
      1. Restore Quiz1's backup into a new course C2.
      2. Go to Quiz1 in C2.
      3. Preview OldQ1.
      4. Confirm that you see "Select one:" before the options.
      5. Close the preview and edit OldQ1.
      6. Check the "Show standard instruction" select box.
      7. Confirm that it is set to "Yes".
      Import from old XML
      1. Go to C2's question bank.
      2. Import OldXML to the question bank.
      3. Confirm that the import process completes successfully.
      4. Confirm that OldQ1 got imported.
      5. Preview the imported OldQ1 (it will have a newer "Created by"/"Last modifieed by" date than the one you restored OldQ1)
      6. Confirm that you see "Select one:" before the options.
      7. Close the preview and edit the imported OldQ1.
      8. Check the "Show standard instruction" select box.
      9. Confirm that it is set to "Yes".
      Standard instruction hidden
      1. Create a new multiple choice question Q2. Set "Show standard instruction" to "No"
      2. Preview Q2.
      3. Confirm that there's no "Select one:" before the options.
      Backup and restore
      1. Backup Quiz1 in C2.
      2. Restore this backup in a new course C3.
      3. Open Quiz1 in C3.
      4. Preview Q2.
      5. Confirm that there's no "Select one:" before the options.
      Export / Import
      1. Export C3's question bank
      2. Check the entries for OldQ1.
      3. Confirm that the field "showstandardinstruction" is set to 1.
      4. Check the entry for Q2.
      5. Confirm that the field "showstandardinstruction" is set to 0.
      6. Delete the questions in C3's question bank.
      7. Import this XML to C3's question bank.
      8. Preview OldQ1.
      9. Confirm that there's is "Select one:" before the options.
      10. Preview Q2.
      11. Confirm that there's no "Select one:" before the options.
      Show
      Before patch Create a quiz Quiz1 in a course "C1". Create a multiple choice "OldQ1" question and add it to this quiz. Backup the quiz. Go to the question bank. Export this question as a Moodle XML format. Let's call this file "OldXML" Upgrade test Upgrade your Moodle instance with the patch applied. Confirm that you do not encounter any errors during upgrade. Go to C1's question bank. Preview OldQ1. Confirm that you see " Select one: " before the options. Close the preview and edit OldQ1. Check the " Show standard instruction " select box. Confirm that it is set to " Yes ". Restore from old backup Restore Quiz1's backup into a new course C2. Go to Quiz1 in C2. Preview OldQ1. Confirm that you see " Select one: " before the options. Close the preview and edit OldQ1. Check the " Show standard instruction " select box. Confirm that it is set to " Yes ". Import from old XML Go to C2's question bank. Import OldXML to the question bank. Confirm that the import process completes successfully. Confirm that OldQ1 got imported. Preview the imported OldQ1 (it will have a newer "Created by"/"Last modifieed by" date than the one you restored OldQ1) Confirm that you see " Select one: " before the options. Close the preview and edit the imported OldQ1. Check the " Show standard instruction " select box. Confirm that it is set to " Yes ". Standard instruction hidden Create a new multiple choice question Q2. Set " Show standard instruction " to "No" Preview Q2. Confirm that there's no " Select one: " before the options. Backup and restore Backup Quiz1 in C2. Restore this backup in a new course C3. Open Quiz1 in C3. Preview Q2. Confirm that there's no " Select one: " before the options. Export / Import Export C3's question bank Check the entries for OldQ1. Confirm that the field " showstandardinstruction " is set to 1. Check the entry for Q2. Confirm that the field " showstandardinstruction " is set to 0. Delete the questions in C3's question bank. Import this XML to C3's question bank. Preview OldQ1. Confirm that there's is " Select one: " before the options. Preview Q2. Confirm that there's no " Select one: " before the options.
    • Affected Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      In Multiple Choice question type, we have system text ("select one:" and "select one or more:").

      Many seem to prefer this lack of system text, preferring to write their instructions directly into the question content.

      So the request is for a setting that could disable the system text (but be 'on' by default to not affect previous questions).

      Help text: "With this setting enabled, system text will be supplied as part of the selection area (e.g. "Select one:" or "Select one or more:"). If disabled, question authors can instead include instructions in the question content, if required."

        Attachments

          Activity

            People

            Assignee:
            mkassaei Mahmoud Kassaei
            Reporter:
            mkassaei Mahmoud Kassaei
            Peer reviewer:
            Tim Hunt
            Integrator:
            Jun Pataleta
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 51 minutes
                4h 51m