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

When changing dynamic_tabs without saving a form, a warning should be displayed

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide
      1. Login as admin
      2. Create a new user
      3. Navigate to Reports > Report builder > Custom reports in site administration
      4. Create a new report
      5. Press Audience tab
      6. Press Manually added users audience type
      7. Select your test user, do not press Save changes
      8. Press Access tab
      9. Confirm you see a dialogue stating you have made changes
      10. Press Cancel in the dialogue
      11. Press Save changes in the audience form
      12. Press Access tab
      13. Confirm access tab loads and shows the test user in report
      14. Press Audience tab
      15. Edit the Manually added users audience
      16. Select admin user, do not press Save changes
      17. Press Access tab
      18. Confirm you see a dialogue stating you have made changes
      19. Press Confirm in the dialogue
      20. Confirm access tab loads and shows only the test user in report
      Show
      Login as admin Create a new user Navigate to Reports > Report builder > Custom reports in site administration Create a new report Press Audience tab Press Manually added users audience type Select your test user, do not press Save changes Press Access tab Confirm you see a dialogue stating you have made changes Press Cancel in the dialogue Press Save changes in the audience form Press Access tab Confirm access tab loads and shows the test user in report Press Audience tab Edit the Manually added users audience Select admin user, do not press Save changes Press Access tab Confirm you see a dialogue stating you have made changes Press Confirm in the dialogue Confirm access tab loads and shows only the test user in report

      If we are in a page with dynamic_tabs and we are editing a form in a tab, a warning should be displayed if we change to another tab without saving a form.

      The warning should be the same that is shown when leaving the page with a non saved form.

       Dynamic tabs were added in MDL-71943

        1. MDL-73007_Step 9.png
          MDL-73007_Step 9.png
          96 kB
        2. MDL-73007_Step 20.png
          MDL-73007_Step 20.png
          75 kB
        3. MDL-73007_Step 18.png
          MDL-73007_Step 18.png
          95 kB
        4. MDL-73007_Step 13.png
          MDL-73007_Step 13.png
          75 kB

            pholden Paul Holden
            mikelmartíncorrales Mikel Martín Corrales
            Mikel Martín Corrales Mikel Martín Corrales
            Jun Pataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            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 - 1 hour, 55 minutes
                1h 55m

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