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

Intelligent default idnumber when duplicating a question in the question bank

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.8.1, 3.8.2
    • 3.9
    • Questions
    • MOODLE_38_STABLE
    • MOODLE_39_STABLE
    • Hide
      1. As teacher, go to the question bank in any course.
      2. Create a question with ID number 'frog'. (The type does not matter, but True/false questions are quickest to create.)
      3. Select the Duplicate action in the edit menu for that question.
      4. Verify that when the form loads, the ID number field is blank.
      5. Now create a question with ID number Q08.
      6. Select the Duplicate action in the edit menu for that question.
      7. Verify that when the form loads, the ID number field is pre-filled with Q09.
      8. Save the form (so now you have questions with idnumbers Q08 and Q09).
      9. Select the Duplicate action on Q08 again.
      10. Verify that when the form loads, the ID number field is pre-filled with Q10.
      Show
      As teacher, go to the question bank in any course. Create a question with ID number 'frog'. (The type does not matter, but True/false questions are quickest to create.) Select the Duplicate action in the edit menu for that question. Verify that when the form loads, the ID number field is blank. Now create a question with ID number Q08. Select the Duplicate action in the edit menu for that question. Verify that when the form loads, the ID number field is pre-filled with Q09. Save the form (so now you have questions with idnumbers Q08 and Q09). Select the Duplicate action on Q08 again. Verify that when the form loads, the ID number field is pre-filled with Q10.

    Description

      Has been requested by Open University staff.

      If you have a question in the question bank with an ID number like idnum0003, and if choose the question bank action to duplicate it, then the new question should have the ID number field on the editing form pre-filled with idnum0004 (where that is the next unused id of that format).

      (Currently, the ID number just defaults to blank.)

      Attachments

        1. MDL-67934_Step10.jpg
          MDL-67934_Step10.jpg
          27 kB
        2. MDL-67934_Step4.jpg
          MDL-67934_Step4.jpg
          25 kB
        3. MDL-67934_Step7.jpg
          MDL-67934_Step7.jpg
          25 kB

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Mahmoud Kassaei Mahmoud Kassaei
              Jake Dallimore Jake Dallimore
              Anna Carissa Sadia Anna Carissa Sadia
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 20 minutes
                  1h 20m