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

Tiny editor "Link" plugin missing language string debugging

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MOODLE_402_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 Link plugin (MDL-76520) causes the following debugging notice to be emitted to webserver logs, due to missing language string:

      [Thu Apr 06 19:04:39.528376 2023] [php:notice] [pid 6000] [client 192.168.123.1:56256] Debugging: Invalid get_string() identifier: 'helplinktext' or component 'tiny_link'. Perhaps you are missing $string['helplinktext'] = ''; in /opt/moodle/master/src/lib/editor/tiny/plugins/link/lang/en/tiny_link.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
      

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Andrew Lyons Andrew Lyons
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 30 minutes
                  30m

                  Clockify

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