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

Webservice does not warn when external_function_parameters contains invalid VALUE_OPTIONAL

    XMLWordPrintable

Details

    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-51756-master
    • Hide

      Run unit tests (./vendor/bin/phpunit lib/tests/externallib_test.php) on all branches. Verify they pass.

      On master revert 4d9edf1b152f24a770c93b4debddad52d91c6557 and re-run the test. It should fail.

      On 29 revert 0a646216446b3b56c48bc0a1dc9e67dd79de56a8 and re-run the test. It should fail.

      Show
      Run unit tests (./vendor/bin/phpunit lib/tests/externallib_test.php) on all branches. Verify they pass. On master revert 4d9edf1b152f24a770c93b4debddad52d91c6557 and re-run the test. It should fail. On 29 revert 0a646216446b3b56c48bc0a1dc9e67dd79de56a8 and re-run the test. It should fail.

    Description

      This is something easy to check - and should trigger debugging messages.

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              damyon Damyon Wiese
              Dan Poltawski Dan Poltawski
              Andrew Lyons Andrew Lyons
              Rajesh Taneja Rajesh Taneja
              Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/15