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

When choosing to add a web service function without selecting any a notice is displayed.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Visit <yoursite>/admin/settings.php?section=externalservices
      2. Click to add a web service.
      3. Choose any name and click 'Add service'.
      4. On the next page click 'Add functions'.
      5. Do not select any function and click 'Add functions'.
      6. Ensure you are taken back to the page and a message saying that a function must be chosen is displayed.
      Show
      Visit <yoursite>/admin/settings.php?section=externalservices Click to add a web service. Choose any name and click 'Add service'. On the next page click 'Add functions'. Do not select any function and click 'Add functions'. Ensure you are taken back to the page and a message saying that a function must be chosen is displayed.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-37275_master

      Description

      1. Visit <yoursite>/admin/settings.php?section=externalservices
      2. Click to add a web service.
      3. Choose any name and click 'Add service'.
      4. On the next page click 'Add functions'.
      5. Do not select any functions and click 'Add functions'.
      6. The following notice will occur.

      Notice: Undefined property: stdClass::$fids in <dirroot>/admin/webservice/service_functions.php on line 70 Warning: Invalid argument supplied for foreach() in /var/www/mstorage/sm/moodle/admin/webservice/service_functions.php on line 70

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            markn Mark Nelson
            Peer reviewer:
            Jérôme Mouneyrac
            Integrator:
            Dan Poltawski
            Tester:
            David Monllaó
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, 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:
              Resolved:
              Fix Release Date:
              25/Jun/12