Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76064 Fix problems reported in apache logs before 4.1 release
  3. MDL-76388

Deprecated filterrowlegend,core_user string left in core

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.1
    • User management

    Description

      Detected @ MDL-76064:

      Problem E: Debugging: String [filterrowlegend,core_user] is deprecated. It happens 26 times.

      2162:[Tue Nov 15 06:02:52.137271 2022] [php:notice] [pid 508] [client 172.28.0.6:33416] Debugging: String [filterrowlegend,core_user] is deprecated. Either you should no longer be using that string, or the string has been incorrectly deprecated, in which case you should report this as a bug. Please refer to https://docs.moodle.org/dev/String_deprecation in

      • line 397 of /lib/classes/string_manager_standard.php: call to debugging()
      • line 117 of /lib/external/externallib.php: call to core_string_manager_standard->get_string()
      • line 261 of /lib/externallib.php: call to core_external::get_string()
      • line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
      • line 33 of /lib/ajax/service-nologin.php: call to require_once()\n, referer: http://webserver131d771ed741fc3b/behatrun3/user/index.php?id=100000

      This is just a regression caused by MDL-72509, where a case of the deprecated string was left in core.

      Attachments

        1. after.png
          after.png
          8 kB
        2. before.png
          before.png
          413 kB

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Meirza Meirza
              Jun Pataleta Jun Pataleta
              Jun Pataleta Jun Pataleta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 30 minutes
                  3h 30m