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

WS tool_mobile_get_public_config is failing on 3.3 sites using some auth plugins implementing identityproviders or mnet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.2
    • 3.3.1
    • Administration
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • MDL-59741-master
    • Hide
      1. Install and enable an auth plugin implemeting identity providers (loginpage_idp_list function) - for example mnet (moodle network)
      2. Execute the following curl command pointing to your local installation

        curl 'http://localhost/m/stable_master/lib/ajax/service.php' --data-binary '[{"index":0,"methodname":"tool_mobile_get_public_config","args":{}}]' | python -m "json.tool"

      3. And check that you receive in the curl response a identityproviders field including the information of the plugin you installed (the name, url and iconurl)
      Show
      Install and enable an auth plugin implemeting identity providers (loginpage_idp_list function) - for example mnet (moodle network) Execute the following curl command pointing to your local installation curl 'http://localhost/m/stable_master/lib/ajax/service.php' --data-binary ' [{"index":0,"methodname":"tool_mobile_get_public_config","args":{}}] ' | python -m "json.tool" And check that you receive in the curl response a identityproviders field including the information of the plugin you installed (the name, url and iconurl)

      We got this errors in some cases:

      "identityproviders => Invalid response value detected: iconurl => Invalid response value detected: Scalar type expected, array or object received.\nError code: invalidresponse"

      We are still trying to figure out which 3rd party plugin is causing this, in any case, this needs fixing in the code.

      It seems to be just a bug in our function.

            jleyva Juan Leyva
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.