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

Exception - class "external_api" not found on the user preferences web service documentation page

    XMLWordPrintable

Details

    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_402_STABLE
    • MDL-78339-402
    • Hide
      1. Log in as admin
      2. Create a new user
      3. Navigate to Users > Permissions > Define roles in site administration
      4. Edit the Authenticated user role
      5. Allow the "moodle/webservice:createtoken" capability and save
      6. Navigate to Server > Web services > Overview in site administration
      7. Complete the following:
        • Enable web services
        • Enable protocols (REST)
        • Enable developer documentation
      8. Navigate to Server > Web services > External services in site administration
      9. Edit Moodle mobile web service and set as enabled
      10. Navigate to Server > Web services > Manage tokens in site administration
      11. Create token for test user to use Moodle mobile web service
      12. Log out
      13. Log in as test user
      14. Navigate to Preferences from user menu
      15. Press Security keys
      16. Press Documentation
      17. Confirm page loads without exceptions
      Show
      Log in as admin Create a new user Navigate to Users > Permissions > Define roles in site administration Edit the Authenticated user role Allow the "moodle/webservice:createtoken" capability and save Navigate to Server > Web services > Overview in site administration Complete the following: Enable web services Enable protocols (REST) Enable developer documentation Navigate to Server > Web services > External services in site administration Edit Moodle mobile web service and set as enabled Navigate to Server > Web services > Manage tokens in site administration Create token for test user to use Moodle mobile web service Log out Log in as test user Navigate to Preferences from user menu Press Security keys Press Documentation Confirm page loads without exceptions
    • 1

    Description

      An error occurs when the user wants to access the user preferences web service documentation page. Please see the attached image:

      Attachments

        1. (I) Passed -- (402)MDL-78339.png
          (I) Passed -- (402)MDL-78339.png
          169 kB
        2. (I) Passed -- (Master)MDL-78339.png
          (I) Passed -- (Master)MDL-78339.png
          166 kB
        3. error_MDL_78339.png
          error_MDL_78339.png
          77 kB
        4. result.png
          result.png
          344 kB

        Issue Links

          Activity

            People

              pholden Paul Holden
              meirza.arson@moodle.com Meirza
              Andrew Lyons Andrew Lyons
              Huong Nguyen Huong Nguyen
              Kim Jared Lucas Kim Jared Lucas
              Juan Leyva, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Jun/23

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 27 minutes
                  1h 27m