orca-nrw / crossplatform-moodle-lti-plugin

GNU General Public License v3.0
3 stars 5 forks source link

PLUGIN1-MOODLE-capability strings missing #89

Open NinaHerrmann opened 1 year ago

NinaHerrmann commented 1 year ago

Describe the bug the capabilities do not have a string defintion

To Reproduce Steps to reproduce the behaviour:

  1. Go to Administration -> User -> Manage Roles
  2. Select any Role to edit
  3. Scroll down to Capabilities
  4. Enter orca in the capability search image

Expected behaviour Have a string describing the capability

Possible solutions / proposals Add strings to lang.php

Screenshots image

Software versions (please complete the following information):

Contact information (optional) Nina Herrmann - Uni Münster - nina.herrmann@uni-muenster.de

danowar2k commented 1 year ago

Had the same occurrence just now...

Invalid get_string() identifier: 'orcalti:addcoursetool' or component 'mod_orcalti'. Perhaps you are missing $string['orcalti:addcoursetool'] = ''; in mod/orcalti/lang/en/orcalti.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7339 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2589 of /lib/accesslib.php: call to get_string()
line 79 of /admin/tool/editrolesbycap/capabilityformfield.php: call to get_capability_string()
line 42 of /admin/tool/editrolesbycap/capabilityformfield.php: call to MoodleQuickForm_capability->get_capabitity_optgroups()
line 578 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_capability->__construct()
line 614 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
line 49 of /admin/tool/editrolesbycap/locallib.php: call to HTML_QuickForm->addElement()
line 214 of /lib/formslib.php: call to tool_editrolesbycap_capability_form->definition()
line 57 of /admin/tool/editrolesbycap/index.php: call to moodleform->__construct()

Invalid get_string() identifier: 'orcalti:addinstance' or component 'mod_orcalti'. Perhaps you are missing $string['orcalti:addinstance'] = ''; in mod/orcalti/lang/en/orcalti.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7339 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2589 of /lib/accesslib.php: call to get_string()
line 79 of /admin/tool/editrolesbycap/capabilityformfield.php: call to get_capability_string()
line 42 of /admin/tool/editrolesbycap/capabilityformfield.php: call to MoodleQuickForm_capability->get_capabitity_optgroups()
line 578 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_capability->__construct()
line 614 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
line 49 of /admin/tool/editrolesbycap/locallib.php: call to HTML_QuickForm->addElement()
line 214 of /lib/formslib.php: call to tool_editrolesbycap_capability_form->definition()
line 57 of /admin/tool/editrolesbycap/index.php: call to moodleform->__construct()

Invalid get_string() identifier: 'orcalti:addmanualinstance' or component 'mod_orcalti'. Perhaps you are missing $string['orcalti:addmanualinstance'] = ''; in mod/orcalti/lang/en/orcalti.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7339 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2589 of /lib/accesslib.php: call to get_string()
line 79 of /admin/tool/editrolesbycap/capabilityformfield.php: call to get_capability_string()
line 42 of /admin/tool/editrolesbycap/capabilityformfield.php: call to MoodleQuickForm_capability->get_capabitity_optgroups()
line 578 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_capability->__construct()
line 614 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
line 49 of /admin/tool/editrolesbycap/locallib.php: call to HTML_QuickForm->addElement()
line 214 of /lib/formslib.php: call to tool_editrolesbycap_capability_form->definition()
line 57 of /admin/tool/editrolesbycap/index.php: call to moodleform->__construct()

Invalid get_string() identifier: 'orcalti:addpreconfiguredinstance' or component 'mod_orcalti'. Perhaps you are missing $string['orcalti:addpreconfiguredinstance'] = ''; in mod/orcalti/lang/en/orcalti.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7339 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2589 of /lib/accesslib.php: call to get_string()
line 79 of /admin/tool/editrolesbycap/capabilityformfield.php: call to get_capability_string()
line 42 of /admin/tool/editrolesbycap/capabilityformfield.php: call to MoodleQuickForm_capability->get_capabitity_optgroups()
line 578 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_capability->__construct()
line 614 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
line 49 of /admin/tool/editrolesbycap/locallib.php: call to HTML_QuickForm->addElement()
line 214 of /lib/formslib.php: call to tool_editrolesbycap_capability_form->definition()
line 57 of /admin/tool/editrolesbycap/index.php: call to moodleform->__construct()

Invalid get_string() identifier: 'orcalti:requesttooladd' or component 'mod_orcalti'. Perhaps you are missing $string['orcalti:requesttooladd'] = ''; in mod/orcalti/lang/en/orcalti.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7339 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2589 of /lib/accesslib.php: call to get_string()
line 79 of /admin/tool/editrolesbycap/capabilityformfield.php: call to get_capability_string()
line 42 of /admin/tool/editrolesbycap/capabilityformfield.php: call to MoodleQuickForm_capability->get_capabitity_optgroups()
line 578 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_capability->__construct()
line 614 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
line 49 of /admin/tool/editrolesbycap/locallib.php: call to HTML_QuickForm->addElement()
line 214 of /lib/formslib.php: call to tool_editrolesbycap_capability_form->definition()
line 57 of /admin/tool/editrolesbycap/index.php: call to moodleform->__construct()

Invalid get_string() identifier: 'orcalti:admin' or component 'mod_orcalti'. Perhaps you are missing $string['orcalti:admin'] = ''; in mod/orcalti/lang/en/orcalti.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7339 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2589 of /lib/accesslib.php: call to get_string()
line 79 of /admin/tool/editrolesbycap/capabilityformfield.php: call to get_capability_string()
line 42 of /admin/tool/editrolesbycap/capabilityformfield.php: call to MoodleQuickForm_capability->get_capabitity_optgroups()
line 578 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_capability->__construct()
line 614 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
line 49 of /admin/tool/editrolesbycap/locallib.php: call to HTML_QuickForm->addElement()
line 214 of /lib/formslib.php: call to tool_editrolesbycap_capability_form->definition()
line 57 of /admin/tool/editrolesbycap/index.php: call to moodleform->__construct()

Invalid get_string() identifier: 'orcalti:manage' or component 'mod_orcalti'. Perhaps you are missing $string['orcalti:manage'] = ''; in mod/orcalti/lang/en/orcalti.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7339 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2589 of /lib/accesslib.php: call to get_string()
line 79 of /admin/tool/editrolesbycap/capabilityformfield.php: call to get_capability_string()
line 42 of /admin/tool/editrolesbycap/capabilityformfield.php: call to MoodleQuickForm_capability->get_capabitity_optgroups()
line 578 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_capability->__construct()
line 614 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
line 49 of /admin/tool/editrolesbycap/locallib.php: call to HTML_QuickForm->addElement()
line 214 of /lib/formslib.php: call to tool_editrolesbycap_capability_form->definition()
line 57 of /admin/tool/editrolesbycap/index.php: call to moodleform->__construct()

Invalid get_string() identifier: 'orcalti:view' or component 'mod_orcalti'. Perhaps you are missing $string['orcalti:view'] = ''; in mod/orcalti/lang/en/orcalti.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7339 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 2589 of /lib/accesslib.php: call to get_string()
line 79 of /admin/tool/editrolesbycap/capabilityformfield.php: call to get_capability_string()
line 42 of /admin/tool/editrolesbycap/capabilityformfield.php: call to MoodleQuickForm_capability->get_capabitity_optgroups()
line 578 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_capability->__construct()
line 614 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
line 49 of /admin/tool/editrolesbycap/locallib.php: call to HTML_QuickForm->addElement()
line 214 of /lib/formslib.php: call to tool_editrolesbycap_capability_form->definition()
line 57 of /admin/tool/editrolesbycap/index.php: call to moodleform->__construct()
KaiOrca commented 1 year ago

Hi guys, thank you for submitting. Your reported issue will be adressed (Orca-1636)