mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #54560
[Bug 1833034] Re: Error/warning/success messages remains unless page is refreshed
Commit hash: 4a30239dea1cda0acf851877e97701c3ed52b569
Environment tested: Master
Browser tested: Chrome
Theme used: Raw
PRECONDITIONS:
------------------------
1) Mahara User exists
TEST STEPS Part 1: Error/warning/success messages remains unless page is refreshed
------------------------
1) User log in as Site admin
2) Browse to the files upload page http://mahara.stevens-lp.dynamic.wgtn.cat-it.co.nz/artefact/file/index.php
3) Click the Create new folder button (Without entering a name in the field)
4) Verify that an error message is dispayed ✔
5) Enter a name in the field and click the Create new folder button
6) Verify that the error message disappears ✔
TEST STEPS Part 2: - user cannot remove an image from the image artefact.
------------------------
1) User create a portfolio page
2) Add an image block to the page
3) Verify that the image is displayed on the page
4) Edit the image block and remove the image and save
5) Verify that the Image is removed
NOTE - no issues found with deleting images or changing to different
images
Catalyst QA Approved ✔
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1833034
Title:
Error/warning/success messages remains unless page is refreshed
Status in Mahara:
Fix Committed
Status in Mahara 19.04 series:
Fix Committed
Status in Mahara 19.10 series:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1833034/+subscriptions
References