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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.2, 3.3, 3.4
    • 3.2.4, 3.3.1
    • Other
    • MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-59112-master
    • 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

    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

            jleyva Juan Leyva
            jleyva Juan Leyva
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Adrian Greeve Adrian Greeve
            Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10/Jul/17