Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68459 Fix problems reported in apache logs before 3.9 release
  3. MDL-68962

Problem F: Missing contentbank strings in external (sortbyx, sortbyxreverse). It happens 8-10 times.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In a console window, tail your web server's logs, i.e. (system-dependant): 

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

      2. Login as admin.
      3. Access to the Content bank.
      4. Upload the attached H5P file.
      5. View the H5P file.
      6. Go to the Content bank.
      7. Confirm that there were no errors in the log you are tailing.
      8. Change the view to "Display content bank with file details".
      9. Click the "Sort" icon in the "Content name" column.
      10. Inspect the HTML code (using the browser inspector, Ctrl + Shift + i).
      11. Check the button in the "Content name" column has as title "Sort by Content name descending". 
      Show
      In a console window, tail your web server's logs, i.e. (system-dependant):  tail -f /var/log/apache2/error.log Login as admin. Access to the Content bank. Upload the attached H5P file. View the H5P file. Go to the Content bank. Confirm that there were no errors in the log you are tailing. Change the view to "Display content bank with file details". Click the "Sort" icon in the "Content name" column. Inspect the HTML code (using the browser inspector, Ctrl + Shift + i). Check the button in the "Content name" column has as title "Sort by Content name descending". 
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-68962-master

      Description

      Can be reproduced with the "Admins can upload .h5p extension files to content bank" scenario.

      52320:[Sat Jun 06 17:30:18.476690 2020] [php7:notice] [pid 516] [client 172.22.0.5:39824] Debugging: Invalid get_string() identifier: 'sortbyx' or component 'contentbank'. Perhaps you are missing $string['sortbyx'] = ''; in lang/en/contentbank.php? in

      • line 353 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 255 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()
        , referer: http://run43c1f73b3e13e6a1/behatrun3/contentbank/index.php?contextid=1

      52321:[Sat Jun 06 17:30:18.477006 2020] [php7:notice] [pid 516] [client 172.22.0.5:39824] Debugging: Invalid get_string() identifier: 'sortbyxreverse' or component 'contentbank'. Perhaps you are missing $string['sortbyxreverse'] = ''; in lang/en/contentbank.php? in

      • line 353 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 255 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()
        , referer: http://run43c1f73b3e13e6a1/behatrun3/contentbank/index.php?contextid=1

        Attachments

          Activity

            People

            Assignee:
            sarjona Sara Arjona (@sarjona)
            Reporter:
            sarjona Sara Arjona (@sarjona)
            Peer reviewer:
            Amaia Anabitarte
            Integrator:
            Jun Pataleta
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/20

                Time Tracking

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