-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
3.9
-
None
-
MOODLE_39_STABLE
To reproduce:
- Log in as admin.
- Make sure debugging's turned on.
- Go to "Site administration / Licence / Licence manager"
- Create a custom license.
- Save the changes.
- Open a page with an editor. (E.g. the edit profile page)
- Expected: The page will load okay
- Actual: The following debug message is being shown
Invalid get_string() identifier: 'Testlicense' or component 'license'. Perhaps you are missing $string['Testlicense'] = ''; in lang/en/license.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7387 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 545 of /files/renderer.php: call to get_string()
line 410 of /files/renderer.php: call to core_files_renderer->create_license_help_icon_context()
line 516 of /files/renderer.php: call to core_files_renderer->fp_js_template_selectlayout()
line 3199 of /repository/lib.php: call to core_files_renderer->filepicker_js_templates()
line 356 of /lib/form/editor.php: call to initialise_filepicker()
line 486 of /lib/form/editor.php: call to MoodleQuickForm_editor->toHtml()
line 4667 of /lib/outputrenderers.php: call to MoodleQuickForm_editor->export_for_template()
line 3146 of /lib/formslib.php: call to core_renderer->mform_element()
line 430 of /lib/pear/HTML/QuickForm/element.php: call to MoodleQuickForm_Renderer->renderElement()
line 1653 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm_element->accept()
line 1905 of /lib/formslib.php: call to HTML_QuickForm->accept()
line 1696 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm->accept()
line 445 of /lib/pear/HTML/Common.php: call to HTML_QuickForm->toHtml()
line 989 of /lib/formslib.php: call to HTML_Common->display()
line 357 of /user/editadvanced.php: call to moodleform->display()
- is a regression caused by
-
MDL-45184 Create user interface to add/delete new licenses
- Closed