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

Lesson accepts blank password

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.5, 2.1.2, 2.2
    • 2.0.6, 2.1.3
    • Lesson
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • MDL-30398-master
    • Hide

      Note: Plz, test this under 20 and 21 too (has been backported there)

      1. Login as a teacher, update a lesson, set 'Password protected lesson' to yes and try to save the form.
      2. the form should not be saved since no password is entered
      3. Now enter a password and make sure the form is saved
      4. Now login as a student and make sure you can access the lesson with the above password
      5. Login as teacher again and set "password protected lesson" to No.
      6. Make sure you can access the lesson now without any password as a student.
      Show
      Note: Plz, test this under 20 and 21 too (has been backported there) Login as a teacher, update a lesson, set 'Password protected lesson' to yes and try to save the form. the form should not be saved since no password is entered Now enter a password and make sure the form is saved Now login as a student and make sure you can access the lesson with the above password Login as teacher again and set "password protected lesson" to No. Make sure you can access the lesson now without any password as a student.

    Description

      • Login as a teacher, update a lesson, set 'Password protected lesson' to yes and try to save the form.
        ideally
        the form should not be saved since no password is entered
        actually result
        The form is saved without any error.

      Attachments

        Issue Links

          Activity

            People

              ankit_frenz Ankit Agarwal
              ankit_frenz Ankit Agarwal
              Rossiani Wijaya Rossiani Wijaya
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rajesh Taneja Rajesh Taneja
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/11