Adding annotation doesn't alert if you change page without saving - leaves empty block on the page
Bug #1929357 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Dianne Tennent |
Bug Description
After clicking the dot on the smart evidence page to display the annotation modal you decide to reload the page before saving the form or exiting out with the 'X' button the empty annotation block still exists on the corresponding page.
When you do this multiple times from the smart evidence page, multiple annotations with the same evaluation item are created on the corresponding page.
There needs to be form change checker alert if we are adding the block (but not when editing) to alert one when leaving the page. And on leaving to clean up the half finished block.
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: bite-sized |
Changed in mahara: | |
status: | Confirmed → In Progress |
assignee: | nobody → Dianne Tennent (dianne-t) |
Changed in mahara: | |
milestone: | none → 22.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Steps to reproduce: annotation plugin is enabled
- Learner makes a copy of SmartEvidence template made available by their institution
- Learner creates a page and adds this to the template collection
- Admin to ensure the blocktype/
- Reviewer or learner makes annotation on matrix page for one of the criteria
- Reload page before saving or pressing the X on the annotation modal
- Check newly added page
Expected result - no annotations appear on this page
Actual result - Annotation heading appears on this page