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

Add string for error_question_answers_missing_in_db

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 3.1, 3.2
    • Fix Version/s: 3.0.5, 3.1.1
    • Component/s: Backup, Questions
    • Labels:
    • Testing Instructions:
      Hide

      We do not know how to reproduce the actual error (see MDL-26442) so you need to comment out the "if" clause at this line

      1. Create multiple choice question in the "Category for system"
      2. Create a course with a quiz, add this question to the quiz
      3. Turn developer debugging mode off
      4. Backup and restore the course
      5. Make sure that the error is displayed with information about which question and which answer caused problems
      Show
      We do not know how to reproduce the actual error (see MDL-26442 ) so you need to comment out the "if" clause at this line Create multiple choice question in the "Category for system" Create a course with a quiz, add this question to the quiz Turn developer debugging mode off Backup and restore the course Make sure that the error is displayed with information about which question and which answer caused problems
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-54769-master

      Description

      Language string is missing for error_question_answers_missing_in_db
      As commented in MDL-26442 (which was partially fixed by MDL-30018) people who hit this error do not know which questions cause import failure.
      Adding language string will give more information to people experiencing it and help to identify/reproduce the problem and hopefully fix it

        Attachments

        1. prod_question_after.png
          22 kB
          Marina Glancy
        2. prod_question_before.png
          18 kB
          Marina Glancy
        3. questionerror_after.png
          45 kB
          Marina Glancy
        4. questionerror_before.png
          52 kB
          Marina Glancy

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jul/16