Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29276 META- Web service improvements for 2.2
  3. MDL-29825

When protocol capability is not set, the debug info should be more explicit to the dev.

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.2, 2.2
    • Fix Version/s: 2.2
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      Hide

      1) enable web services and turn on a web service
      2) access the web service using the SOAP protocol when the protocol capability isn't assigned.
      3) SOAP call should fail to the WSDL call. You should be able to see nothing via any client.

      Show
      1) enable web services and turn on a web service 2) access the web service using the SOAP protocol when the protocol capability isn't assigned. 3) SOAP call should fail to the WSDL call. You should be able to see nothing via any client.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

            Hide
            samhemelryk Sam Hemelryk added a comment -

            Hi Jerome,

            Just noting that this issue has passed integration review.
            I will review the other web service issues today and then integrate them all the passing issues at once.

            Cheers
            Sam

            Show
            samhemelryk Sam Hemelryk added a comment - Hi Jerome, Just noting that this issue has passed integration review. I will review the other web service issues today and then integrate them all the passing issues at once. Cheers Sam
            Hide
            samhemelryk Sam Hemelryk added a comment -

            Thanks Jerome - this has been integrated now

            Show
            samhemelryk Sam Hemelryk added a comment - Thanks Jerome - this has been integrated now
            Hide
            nebgor Aparup Banerjee added a comment -

            with SOAP turned off there is http 500 error on the client side. Jerome says this is what is expected (may not be best desired but i'm just testing). i'll update the test to reflect that and pass this now.

            Show
            nebgor Aparup Banerjee added a comment - with SOAP turned off there is http 500 error on the client side. Jerome says this is what is expected (may not be best desired but i'm just testing). i'll update the test to reflect that and pass this now.
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Done, your delicious hacks have been sent upstream, many thanks!

            Closing as fixed, ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Done, your delicious hacks have been sent upstream, many thanks! Closing as fixed, ciao

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/11