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

Front page user tour causes site policy error on login

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.5, 3.3.3
    • Fix Version/s: None
    • Component/s: User Tours
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE

      Description

      When logging into a site that is using a user tour on the front page, if you also have the site policy enabled an error is displayed on login stating the the Site policy hasn't been agreed.

       

      Stack Trace

      Error code: sitepolicynotagreed

      • line 2717 of /lib/moodlelib.php: moodle_exception thrown
      •  line 480 of /lib/externallib.php: call to require_login()
      • line 62 of /admin/tool/usertours/classes/external/tour.php: call to external_api::validate_context()
      • line ? of unknownfile: call to tool_usertours\external\tour::fetch_and_start_tour()
      • line 228 of /lib/externallib.php: call to call_user_func_array()
      • line 59 of /lib/ajax/service.php: call to external_api::call_external_function()

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jamie.biddulph Jamie Biddulph
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: