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

WS test client breaks when using REST and core_course_delete_categories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.5, 3.3
    • Fix Version/s: None
    • Component/s: Web Services
    • Labels:
    • Workaround:
      Hide

      Pass 1 as the recursive value.

      Show
      Pass 1 as the recursive value.
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE

      Description

      The following error is shown -

      URL: http://yoursite.com/webservice/rest/simpleserver.php?wsusername=username&wspassword=password
      '<?xml version="1.0" encoding="UTF-8" ?>
      <EXCEPTION class="invalid_parameter_exception">
      <ERRORCODE>invalidparameter</ERRORCODE>
      <MESSAGE>Invalid parameter value detected</MESSAGE>
      <DEBUGINFO>categories =&gt; Invalid parameter value detected: recursive =&gt; Invalid parameter value detected: Invalid external api parameter: the value is &quot;&quot;, the server was expecting &quot;bool&quot; type</DEBUGINFO>
      </EXCEPTION>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              markn Mark Nelson
              Participants:
              Component watchers:
              Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: