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

Avoid blocking the usage of Web Services and external clients such as the app when certain exceptions that do not block LMS happen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.2
    • 4.1
    • Web Services

    Description

      In particular this case: A plugin was not properly uninstalled from the site

      LMS/web: users can still use the Moodle site without problems

      App/ws: users are blocked, they see the following exception:

      Coding error: version.php file is missing for the component X

      This is also happening when retrieving courses (cannotgetcoursecontents error) when they configured course formats that were uninstalled (lms defaults to topics in this case)

      STEPS TO REPRODUCE:

      • Install a course format that add WebServices to the mobile app service (format_wplist for example) and then uninstall it just by removing the files (and not executing the plugin uninstall code)
      • Try to access the site using the mobile app, you'll receive an exception
      • Install a course format plugin, configure a course to use it, and then uninstall it just by removing the files (and not executing the plugin uninstall code)
      • Try to access the course using the mobile app with a user enrolled in it, you'll get an exception. Or call the Webservices core_course_get_contents and core_webservice_get_site_info to get the exception

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              jleyva Juan Leyva
              Rodrigo Mady Rodrigo Mady
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 4 hours, 45 minutes
                  4h 45m

                  Clockify

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