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

Lesson accepts blank password

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.1.2, 2.2
    • Fix Version/s: 2.0.6, 2.1.3
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull Master Branch:
      MDL-30398-master

      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

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Rossiani Wijaya
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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