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

revert incorrect MDL-27899 fix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.3
    • Component/s: Administration
    • Labels:
      None
    • Testing Instructions:
      Hide

      use testing instructions from the linked issue:
      1/ enable full debug
      2/ access your site with a different URL then is specified in wwwroot (ip instead of DNS name for example)
      3/ no warnings or notices expected

      Show
      use testing instructions from the linked issue: 1/ enable full debug 2/ access your site with a different URL then is specified in wwwroot (ip instead of DNS name for example) 3/ no warnings or notices expected
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w42_MDL-29862_m22_fullmeinit

      Description

      The initialisation of FULLME and friends was moved after session start, that is very wrong because we must not start session on wrong www roots because it might mess up session cookies...

      Solution is to set up fake $USER object instead...

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Nov/11