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

The error message when a web service can't be found totally unhelpful

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.6, 3.8.3
    • Fix Version/s: 3.8.4, 3.9.1
    • Component/s: Web Services
    • Labels:

      Description

      Currently, if the class cannot be found, the entire text of the message is:

      Cannot find external class

      This is ... not very helpful. I propose to change it to

      'Cannot find external class ' . $function->classname

      and I am wording this as a bug, because I think it is worth doing on stables too.

      I was struggling to diagnose a bug we were seeing, so first I just hacked this change into our code. Then I decided to do the socially responsible thing and submit it upstream.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Jan Dageförde
              Integrator:
              Jun Pataleta
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jul/20

                  Time Tracking

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