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

Enrolment options screen: continue button missing 2.7.5

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Test 1
      1. Create a course.
      2. Enable autologin guests
      3. Set up a course with self-enrolment
      4. Log out.
      5. Try and access the course.

      Expected: Guests cannot enrol in the course error message with a continue button that redirects you to a login page.

      Test 2
      1. Create a course C
      2. Disable guest access, enable self enrolment
      3. Configure Self enrolment with "max enrolled users" = 1
      4. Login as student A
      5. Enrol into course C, enrolment should succeed
      6. Login as student B

      Expected:

      • Enrol into course C, enrolment shouldn't be possible.
      • Student B should be shown the error message "Maximum number of users allowed to access was already reached" (string 'maxenrolledreached | enrol_self')
      Test 3
      1. Run the behat tests for the file enrol/self/tests/behat/self_enrolment.feature.
      Show
      Test 1 Create a course. Enable autologin guests Set up a course with self-enrolment Log out. Try and access the course. Expected: Guests cannot enrol in the course error message with a continue button that redirects you to a login page. Test 2 Create a course C Disable guest access, enable self enrolment Configure Self enrolment with "max enrolled users" = 1 Login as student A Enrol into course C, enrolment should succeed Login as student B Expected: Enrol into course C, enrolment shouldn't be possible. Student B should be shown the error message "Maximum number of users allowed to access was already reached" (string 'maxenrolledreached | enrol_self') Test 3 Run the behat tests for the file enrol/self/tests/behat/self_enrolment.feature.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49232_master
    • Sprint:
      Team Beards Sprint 5, Team Beards Sprint 6

      Description

      I did a search and also posted to general forum with no response.

      1. Upgraded to Moodle 2.7.5
      2. Enable autologin guests
      3. Set up a course with self-enrolment
      4. Copy the URL for the course and paste it somewhere else
      eg https://wsionline.wsi.tafensw.edu.au/course/view.php?id=2925
      5. Log out
      6. Follow the URL to the course
      7. The user is prompted to log in but the "continue" button is gone, so the user has to know to go an log out as guest and back in again.

      In our 2.8.2 sandpit the continue button still works.

      Note: We've discovered that the Continue button is only gone when self-enrolment is turned on.

      Is this an intentional new behavior? I cannot find any reference to it in the release notes. Has anyone else noticed and if so, is it a bug?

      Many thanks, Caitlyn

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15