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

Essay question: min and max word limits not imported correctly from Moodle XML files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.11
    • 3.11, 4.0
    • Questions
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • Hide
      1. Logged in as teacher/admin
      2. Go to the question bank in any course.
      3. Create a new essay question and set one or both of the min/max word limits.
      4. Save the question.
      5. In the questoin bank, choose Export as Moodle XML in the edit menu for that question.
      6. Go to the question bank in another course.
      7. Import the file you just exported.
      8. Edit the imported question (so you can see all the settings).
      9. Verify that the the min/max word limit settings have been copied correctly.
      Show
      Logged in as teacher/admin Go to the question bank in any course. Create a new essay question and set one or both of the min/max word limits. Save the question. In the questoin bank, choose Export as Moodle XML in the edit menu for that question. Go to the question bank in another course. Import the file you just exported. Edit the imported question (so you can see all the settings). Verify that the the min/max word limit settings have been copied correctly.

      This is a mistake I made in MDL-69101. The import was not building the data structure that qtype_essay::save_question_options expected. Or, save_question_options was not correctly handling the data structure from Import, depending on how you want to look at it.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Mahmoud Kassaei Mahmoud Kassaei
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.