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

Language string for "Related tags" area is missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.4.7, 4.5.3
    • 4.4.6, 4.5.2
    • Tags

      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

            pholden Paul Holden
            pholden Paul Holden
            Carlos Castillo Carlos Castillo
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 53 minutes
                53m

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