-
Bug
-
Resolution: Fixed
-
Minor
-
4.4.6, 4.5.2
The tag class set_related_tags(...) method uses 'core' / 'tag' as the component/itemtype of the created tag instance (known as the tag instance "area")
Unfortunately the language string for this area is missing, so when we try to report on it via this API call we get the following:
Debugging: Invalid get_string() identifier: 'tagarea_tag' or component 'tag'. Perhaps you are missing $string['tagarea_tag'] = ''; in lang/en/tag.php? in
|
* line 355 of /lib/classes/string_manager_standard.php: call to debugging()
|
* line 194 of /lib/classes/lang_string.php: call to core_string_manager_standard->get_string()
|
* line 229 of /lib/classes/lang_string.php: call to core\\lang_string->get_string()
|
* line 115 of /tag/classes/reportbuilder/local/entities/instance.php: call to core\\lang_string->__toString()
|
* line 679 of /reportbuilder/classes/local/report/column.php: call to core_tag\\reportbuilder\\local\\entities\\instance::core_tag\\reportbuilder\\local\\entities\\{closure}()
|
* line 207 of /reportbuilder/classes/table/custom_report_table.php: call to core_reportbuilder\\local\\report\\column->format_value()
|
* line 84 of /lib/table/classes/sql_table.php: call to core_reportbuilder\\table\\custom_report_table->format_row()
|
* line 373 of /reportbuilder/classes/table/custom_report_table.php: call to core_table\\sql_table->build_table()
|
* line 265 of /lib/table/classes/external/dynamic/get.php: call to core_reportbuilder\\table\\custom_report_table->out()
|
* line ? of unknownfile: call to core_table\\external\\dynamic\\get::execute()
|
* line 253 of /lib/external/classes/external_api.php: call to call_user_func_array()
|
* line 83 of /lib/ajax/service.php: call to core_external\\external_api::call_external_function()
|
, referer: http://moodle.internal/master/reportbuilder/edit.php?id=407
|
We just need to define the missing language string
- Discovered while testing
-
MDL-84527 Add formatted tag name column to report entity
-
- Closed
-