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

Tiny editor "No auto-link" 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 Plugins > Text editors > TinyMCE editor in site administration
      4. Enable the Tiny no auto-link plugin
      5. Navigate to edit profile page
      6. Purge caches
      7. Examine webserver error log, e.g.:

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

      8. Confirm no debugging notice is present regarding invalid language string
      Show
      Create new site Log in as admin Navigate to Plugins > Text editors > TinyMCE editor in site administration Enable the Tiny no auto-link plugin 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 No auto-link plugin (MDL-77979) causes the following debugging notice to be emitted to webserver logs, due to missing language string:

      [Fri Sep 01 18:38:40.187620 2023] [php:notice] [pid 41] [client 172.18.0.1:58028] Debugging: Invalid get_string() identifier: 'helplinktext' or component 'tiny_noautolink'. Perhaps you are missing $string['helplinktext'] = ''; in /var/www/html/lib/editor/tiny/plugins/noautolink/lang/en/tiny_noautolink.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://localhost:8000/user/editadvanced.php?course=1&id=2
      

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

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Meirza Meirza
              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 - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 33 minutes
                  33m

                  Clockify

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