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

Missing strings in XMLDB editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.7, 2.2.4
    • 2.3
    • Administration
    • None
    • MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MDL-33090-missing-xmldb-strings
    • Hide
      1. Log in as Admin
      2. Open XMLDB editor (Settings -> Site administration -> Development -> XMLDB editor)
      3. Edit any database (By clicking on load and then edit link)
      4. Click "Edit" on table list (Shown under tables)
      5. Edit primary key (Click "Edit" on any key visible in Keys table)
      6. Click "Change" and you should not see any error.

      Note: Make sure to test this on 2.1 as well.

      Show
      Log in as Admin Open XMLDB editor (Settings -> Site administration -> Development -> XMLDB editor) Edit any database (By clicking on load and then edit link) Click "Edit" on table list (Shown under tables) Edit primary key (Click "Edit" on any key visible in Keys table) Click "Change" and you should not see any error. Note: Make sure to test this on 2.1 as well.

      Seen these when adding a new index to a table:

      Invalid get_string() identifier: 'keynameempty' or component 'tool_xmldb'. Perhaps you are missing $string['keynameempty'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()
      Invalid get_string() identifier: 'incorrectkeyname' or component 'tool_xmldb'. Perhaps you are missing $string['incorrectkeyname'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()
      Invalid get_string() identifier: 'nofieldsspecified' or component 'tool_xmldb'. Perhaps you are missing $string['nofieldsspecified'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()
      Invalid get_string() identifier: 'duplicatefieldsused' or component 'tool_xmldb'. Perhaps you are missing $string['duplicatefieldsused'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()
      Invalid get_string() identifier: 'fieldsusedinindex' or component 'tool_xmldb'. Perhaps you are missing $string['fieldsusedinindex'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()
      Invalid get_string() identifier: 'noreftablespecified' or component 'tool_xmldb'. Perhaps you are missing $string['noreftablespecified'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()
      Invalid get_string() identifier: 'wrongnumberofreffields' or component 'tool_xmldb'. Perhaps you are missing $string['wrongnumberofreffields'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()
      Invalid get_string() identifier: 'noreffieldsspecified' or component 'tool_xmldb'. Perhaps you are missing $string['noreffieldsspecified'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()
      Invalid get_string() identifier: 'primarykeyonlyallownotnullfields' or component 'tool_xmldb'. Perhaps you are missing $string['primarykeyonlyallownotnullfields'] = ''; in /home/nicols/git/software/moodle/admin/tool/xmldb/lang/en/tool_xmldb.php?
      line 6518 of /lib/moodlelib.php: call to debugging()
      line 7142 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 132 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to get_string()
      line 61 of /admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php: call to XMLDBAction->loadStrings()
      line 61 of /admin/tool/xmldb/actions/XMLDBAction.class.php: call to edit_key_save->init()
      line 68 of /admin/tool/xmldb/index.php: call to XMLDBAction->__construct()

            rajeshtaneja Rajesh Taneja
            dobedobedoh Andrew Lyons
            Andrew Davis Andrew Davis
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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