Moodle
  1. Moodle
  2. MDL-33028

web service server die without helping the developer

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.6, 2.2.3
    • Fix Version/s: 2.1.7, 2.2.4
    • Component/s: Web Services
    • Labels:

      Description

      For each web service server.php:
      before that the server die() because the web services or the protocol are not enable, add:
      if debugging()

      { error_log(print_r('The server die because web service or protocol are not enable', true)); }

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Jérôme Mouneyrac added a comment -

            You can cherry-pick in 2.2 and 2.1, it should not conflict and it's nice for the devs.

            Show
            Jérôme Mouneyrac added a comment - You can cherry-pick in 2.2 and 2.1, it should not conflict and it's nice for the devs.
            Hide
            Eloy Lafuente (stronk7) added a comment -

            The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week.

            TIA and ciao

            Show
            Eloy Lafuente (stronk7) added a comment - The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week. TIA and ciao
            Hide
            Dan Poltawski added a comment -

            Thanks Jerome, i've integrated this now. I agree this is useful for web service developers.

            Show
            Dan Poltawski added a comment - Thanks Jerome, i've integrated this now. I agree this is useful for web service developers.
            Hide
            Jason Fowler added a comment -

            works fine - error message makes sense too

            Show
            Jason Fowler added a comment - works fine - error message makes sense too
            Hide
            Eloy Lafuente (stronk7) added a comment -

            This issue has been integrated upstream and is now available both via git and cvs (and in some hours, via mirrors and downloads).

            Thanks!

            Show
            Eloy Lafuente (stronk7) added a comment - This issue has been integrated upstream and is now available both via git and cvs (and in some hours, via mirrors and downloads). Thanks!

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: