Clear messages when new ones appear

Bug #547829 reported by Nigel-catalyst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Richard Mansfield

Bug Description

As per Andrew Ruthven:

> * While creating a resume, I entered some supposedly bogus dates (okay,
> i didn't go to Uni in 1870), and Mahara said "bad bad bad", I fixed it,
> and submitted the form which was accepted. But I still have "There was
> an error with submitting this form. Please check the marked fields and
> try again." at the top of the screen.

Because the form is submitted by ajax, and didn't clear the old one no
doubt.

At least in the case above, where a form is submitted with error and then with success, the error message should disappear.

In theory, all messages should disappear when a form is submitted, so only the ones from the current form submission are shown. However, this might lead to confusion when a form is submitted successfully twice in a row - it might appear to submit so fast the user won't be sure if their changes were saved. So might have to add in some visual effect of some kind.

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=1772&group_id=176&atid=739

Changed in mahara:
status: Confirmed → New
assignee: nobody → Kristina Hoeppner (kris-hoeppner)
Changed in mahara:
status: New → Triaged
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Andrew,

I can't reproduce the error (Firefox 3.6.6 and Safari 5.0 on Mac 10.6). When I first enter a wrong date for the birthday, the only field where a check is made against a correct date (that may have changed since you tried it), the error message displays. When I enter the correct date and save the form, it is saved correctly.

However, if I do not choose the date picker (and didn't check the help bubble), my date may be wrong if I enter it the American way (MM-DD-YYYY). The help says that one should enter the date as YYYY/MM/DD, but it also works when it is DD-MM-YYYY.

Would it be possible to show the string "YYYY/MM/DD" in the date field by default?

The date fields for employment, education etc. are not checked against a date (anymore). You can enter anything you want.

Kristina

Changed in mahara:
assignee: Kristina Hoeppner (kris-hoeppner) → Richard Mansfield (richard-mansfield)
milestone: none → 1.4alpha1
status: Triaged → In Progress
Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

Should be fixed for general system messages. The files area is another story.

Changed in mahara:
status: In Progress → Fix Committed
milestone: 1.4alpha1 → 1.4.0
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.