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

The [[categoryidnumbertaken]] string has not been defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6, 2.6.1, 2.6.2
    • Fix Version/s: 2.6.3
    • Component/s: Course
    • Labels:

      Description

      Using Moodle 2.6, 2.6.1 and the most recent 2.6.2 (Build: 20140310), the [[categoryidnumbertaken]] string has not been defined. The problem did not exist in Moodle 2.5.1.

      Reproducing the issue:

      1) Click Home > Site Administration > Courses > Adda a Category
      2) Complete the form but use a Category ID number that already exists.
      3) Click Create Category.

      The string [[categoryidnumbertaken]] appears next to the Category ID number field and the following error message will appear (may require developers debug mode):

      Invalid get_string() identifier: 'categoryidnumbertaken' or component 'moodle'. Perhaps you are missing $string['categoryidnumbertaken'] = ''; in lang/en/moodle.php?
      line 293 of /lib/classes/string_manager_standard.php: call to debugging()
      line 6838 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
      line 128 of /course/classes/editcategory_form.php: call to get_string()
      line 576 of /lib/formslib.php: call to core_course_editcategory_form->validation()
      line 525 of /lib/formslib.php: call to moodleform->validate_defined_fields()
      line 622 of /lib/formslib.php: call to moodleform->is_validated()
      line 101 of /course/editcategory.php: call to moodleform->get_data()

        Attachments

          Activity

            People

            Assignee:
            poltawski Dan Poltawski
            Reporter:
            michael-milette Michael Milette
            Peer reviewer:
            Ankit Agarwal
            Integrator:
            Marina Glancy
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14