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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.5.8, 3.6.6, 3.7.2
    • 3.5.7, 3.6.5, 3.7.1
    • 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.

      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.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Glyn (Mathew) May Glyn (Mathew) May
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.