Moodle
  1. Moodle
  2. MDL-27928

Error deleting category containing a question in Moodle 2.1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      Find or create a sub-category in the question bank containing at least one question.
      Delete that category.
      Verify that you don't see any missing lang string, or other errors.

      Show
      Find or create a sub-category in the question bank containing at least one question. Delete that category. Verify that you don't see any missing lang string, or other errors.
    • Workaround:
      Hide

      Ignore the error message. It seems to work okay in spite of the error.

      Show
      Ignore the error message. It seems to work okay in spite of the error.
    • URL:
      qa.moodle.net
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When deleting a category containing a question, the following message appears:

      Invalid get_string() identifier: 'categorymove' or component 'question'
      line 5910 of /lib/moodlelib.php: call to debugging()
      line 6500 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 355 of /question/category_class.php: call to get_string()
      line 117 of /question/category.php: call to question_category_object->display_move_form()
      [[categorymove]]

      This was reported as a failed QA test in MDLQA-1037.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Sam Hemelryk added a comment -

            Thanks Tim - this has been integrated now.

            Show
            Sam Hemelryk added a comment - Thanks Tim - this has been integrated now.
            Hide
            Rajesh Taneja added a comment -

            Works great,
            Thanks for fixing Tim

            Show
            Rajesh Taneja added a comment - Works great, Thanks for fixing Tim
            Hide
            Eloy Lafuente (stronk7) added a comment -

            U.P.S.T.R.E.A.M

            Show
            Eloy Lafuente (stronk7) added a comment - U.P.S.T.R.E.A.M

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: