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

Empty row being shown in user's policies page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.5
    • 3.5
    • Privacy
    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • MDL-62281-master
    • Hide

      Setup

      1. Log in as admin.
      2. Access to "Site administration | Privacy and policies | Policy settings" and set site policy handler to “Policies (tool_policy)”.
      3. Create a policy and set as active.
      4. Go to "Site administration / Privacy and policies / Manage policies"
      5. Create a policy, Policy 1. Make this policy active.
      6. In another browser session (e.g. incognito), log in as a user s, agree to this policy and log out.
      7. Back to the admin's browser, deactivate Policy 1
      8. Create another policy, Policy 2. Make this policy active.

      Testing scenario

      1. In s1's browser, log in again. Agree to Policy 2.
      2. Go to your profile page and click "Policies and agreements"
        • CHECK you only see Policy 2 listed on the table and there isn't a blank row before it.
      Show
      Setup Log in as admin. Access to "Site administration | Privacy and policies | Policy settings" and set site policy handler to “Policies (tool_policy)”. Create a policy and set as active. Go to "Site administration / Privacy and policies / Manage policies" Create a policy, Policy 1. Make this policy active. In another browser session (e.g. incognito), log in as a user s, agree to this policy and log out. Back to the admin's browser, deactivate Policy 1 Create another policy, Policy 2. Make this policy active. Testing scenario In s1's browser, log in again. Agree to Policy 2. Go to your profile page and click "Policies and agreements" CHECK you only see Policy 2 listed on the table and there isn't a blank row before it.

      To reproduce:

      1. Log in as admin.
      2. Go to "Site administration / Privacy and policies / Manage policies"
      3. Create a policy, Policy 1. Make this policy active.
      4. In another browser session (e.g. incognito), log in as a user s1 and agree to this policy.
      5. Back to the admin's browser, deactivate Policy 1
      6. Create another policy, Policy 2. Make this policy active.
      7. In s1's browser, log out, then log in again.
      8. Agree to Policy 2.
      9. Go to your profile page and click "Policies and agreements"
      10. Expected: You should only see Policy 2 listed on the table and there shouldn't be a blank row.
      11. Actual: There is a blank row

        1. 62281-after.png
          62281-after.png
          60 kB
        2. 62281-before.png
          62281-before.png
          71 kB
        3. user-view.png
          user-view.png
          48 kB

            sarjona Sara Arjona (@sarjona)
            jpataleta Jun Pataleta
            Victor Déniz Falcón Victor Déniz Falcón
            Andrew Lyons Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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