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

Form validation fails when creating a data registry purpose with an empty value for "Sensitive personal data processing reasons"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.7, 3.6.5, 3.7.1
    • 3.5.8, 3.6.6, 3.7.2
    • Privacy
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MDL-66281-master
    • Hide
      1. Log in as admin or as the Privacy Officer.
      2. Go to Site administration / Users / Privacy and policies / Data registry.
      3. Create a new purpose.
      4. Fill the required fields. Make sure that "Sensitive personal data processing reasons" is blank.
      5. Try to save the form.
      6. Confirm that the purpose is created.
      7. Repeat with various scenarios and confirm that the value for the "Sensitive data processing reasons" are being saved accordingly:
        • Editing a purpose without "Sensitive personal data processing reasons" and selecting one or more reasons.
        • Creating a purpose with "Sensitive personal data processing reasons" set.
        • Editing a purpose with "Sensitive personal data processing reasons" and removing the reasons.
      Show
      Log in as admin or as the Privacy Officer. Go to Site administration / Users / Privacy and policies / Data registry. Create a new purpose. Fill the required fields. Make sure that " Sensitive personal data processing reasons " is blank. Try to save the form. Confirm that the purpose is created. Repeat with various scenarios and confirm that the value for the " Sensitive data processing reasons " are being saved accordingly: Editing a purpose without " Sensitive personal data processing reasons " and selecting one or more reasons. Creating a purpose with " Sensitive personal data processing reasons " set. Editing a purpose with " Sensitive personal data processing reasons " and removing the reasons.

    Description

      To reproduce:

      1. Log in as admin or as the Privacy Officer.
      2. Go to Site administration / Users / Privacy and policies / Data registry.
      3. Create a new purpose.
      4. Fill the required fields. Make sure that "Sensitive personal data processing reasons" is blank.
      5. Try to save the form.
      6. Expected: The purpose is created.
      7. Actual: You'll see a validation error, "Data submitted is invalid" which prevents you from creating the purpose that does not require the reason for the processing of sensitive data.

      Attachments

        Activity

          People

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Mathew May Mathew May
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Janelle Barcega Janelle Barcega
            Andrew Lyons, Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Sep/19

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 10 minutes
                2h 10m