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

Tiny editor "HTML" plugin missing language string debugging

    XMLWordPrintable

Details

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Create new site
      2. Log in as admin
      3. Navigate to edit profile page
      4. Purge caches
      5. Examine webserver error log, e.g.:

        $ tail -f /var/log/apache2/moodle-error.log
        

      6. Confirm no debugging notice is present regarding invalid language string
      Show
      Create new site Log in as admin Navigate to edit profile page Purge caches Examine webserver error log, e.g.: $ tail -f /var/log/apache2/moodle-error.log Confirm no debugging notice is present regarding invalid language string

    Description

      After loading the Tiny editor, the HTML plugin (MDL-78613) causes the following debugging notice to be emitted to webserver logs, due to missing language string:

      [Mon Aug 21 15:49:48.255490 2023] [php:notice] [pid 4587] [client 192.168.123.1:55244] Debugging: Invalid get_string() identifier: 'helplinktext' or component 'tiny_html'. Perhaps you are missing $string['helplinktext'] = ''; in /opt/moodle/master/src/lib/editor/tiny/plugins/html/lang/en/tiny_html.php? in 
      * line 356 of /lib/classes/string_manager_standard.php: call to debugging()
      * line 109 of /lib/external/externallib.php: call to core_string_manager_standard->get_string()
      * line ? of unknownfile: call to core_external::get_string()
      * line 251 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()
      * line 33 of /lib/ajax/service-nologin.php: call to require_once()
      , referer: http://moodle.internal/master/user/editadvanced.php?course=1&id=2
      

      We had the same previously in MDL-77874 - same fix incoming

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Matt Porritt Matt Porritt
              Ilya Tregubov Ilya Tregubov
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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