Error/warning/success messages remains unless page is refreshed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned | ||
19.04 |
Fix Released
|
Medium
|
Unassigned | ||
19.10 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Mahara: 19.04.0
OS: Linux 16.04
DB: Postgres
Browser: FF and Chrome (and others)
In the Files upload screen (and other screens that display error message):
When a user accidentally clicks on the 'Create folder' icon before entering a folder name, a red error message appears:
"Please provide a name for the new folder."
When the user enters the folder name and clicks the button again, the folder is created but the red error message still appears.
The message is only removed after the user refreshes the page.
This can be misleading to the user.
Can you lease clear the message when the folder is created - and display a success message?
Another scenario:
* The user creates a folder successfully.
* The user then clicks into the new folder
* Clicks the 'Create folder' button (in the child folder) without providing a name
* The error message then appears
* Clicks the up arrow to go to the parent folder.
* The error message still appears - even though the user has moved out of the child folder.
Expected, the error message should clear.
Ideally, all alert messages in danger, warning, success classes should fade out after perhaps 10 seconds? This should be throughout the entire site not just the above screens.
Changed in mahara: | |
status: | New → Fix Committed |
milestone: | none → 19.10.0 |
importance: | Undecided → Medium |
Reviewed: https:/ /reviews. mahara. org/10090 /git.mahara. org/mahara/ mahara/ commit/ e69b8a8546e57fd 7c499350574e022 bb34e200f1
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit e69b8a8546e57fd 7c499350574e022 bb34e200f1
Author: Robert Lyon <email address hidden>
Date: Mon Jun 17 17:31:58 2019 +1200
Bug 1833034: Allow folder fail message be removed on success
And show a success message
Also remove metadata edit error message on form resubmit rather than
appending the same message again
behatnotneeded
Change-Id: I31f99a6ca384b7 4ca3e2ea7950556 67811f58e0a
Signed-off-by: Robert Lyon <email address hidden>