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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.7.6, 3.8.3
    • 3.8.4, 3.9.1
    • Web Services

    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

              timhunt Tim Hunt
              timhunt Tim Hunt
              Jan Dageförde Jan Dageförde
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              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:
                13/Jul/20

                Time Tracking

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