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

WS tool_mobile_get_public_config failing in clean theme with site logo configured

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.2, 3.3, 3.4
    • Fix Version/s: 3.2.4, 3.3.1
    • Component/s: Other
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable the clean theme
      2. Go to Administration ▶︎ Appearance ▶︎ Themes ▶︎ Clean
      3. Add a logo and a smalllogo
      4. Execute the following curl request:

        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"

      5. Check that you receive correctly the compactlogourl and the logourl
      6. Access to the Moodle web site, and check that you see correctly the logo in the log-in page and also once you are logged-in
      Show
      Enable the clean theme Go to Administration ▶︎ Appearance ▶︎ Themes ▶︎ Clean Add a logo and a smalllogo Execute the following curl request: 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" Check that you receive correctly the compactlogourl and the logourl Access to the Moodle web site, and check that you see correctly the logo in the log-in page and also once you are logged-in
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-59112-master

      Description

      PHP Fatal error: Call to a member function out() on string in /my/prettiest/moodle/site/docs/admin/tool/mobile/classes/api.php on line 157

      Reported via MOBILE-2132

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Jul/17