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

Wrong redirection from course groups page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.7, 2.4.4, 2.5
    • 2.3.8, 2.4.5, 2.5.1
    • Groups
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • wip-MDL-40353-master
    • Hide
      1. Login as manager/admin
      2. Open Course Administration -> User -> Groups
      3. In another window logout and login as student (or user who is enrolled in the course but can not manage groups)
      4. Return to the first window and refresh the page or click 'Add group'
      5. Make sure proper capability error is displayed
      Show
      Login as manager/admin Open Course Administration -> User -> Groups In another window logout and login as student (or user who is enrolled in the course but can not manage groups) Return to the first window and refresh the page or click 'Add group' Make sure proper capability error is displayed

    Description

      Not a major (hard to reproduce) but still

      Inside the course I selected:
      Course Administration -> Users -> Groups
      then in another window I logged in as student and forgot about it.
      I returned to the first window and tried to click 'Add group' (or any button, or just refresh page), received an error with text "Array" and redirection to http://localhost/course/view.php, which does not exist because my site is installed in a subfolder.

      Attachments

        Activity

          People

            marina Marina Glancy
            marina Marina Glancy
            Damyon Wiese Damyon Wiese
            Andrew Davis Andrew Davis
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jul/13