Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4402

Error messages in document editor disappear automatically when a ping (ajax call) arrives

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: r2.16.00, 2.22.02, 2.24.00, 2.26.10
    • Fix Version/s: 2.28.00
    • Component/s: None
    • Similar issues:
    • Ticket type:
      Product (Warranty / HES)

      Description

      When illegal data is entered into a document field in the CMS and a document is saved, an error message in red is shown at the top. Sometimes this error message disappears automatically after 1 second or so, but sometimes the error message stays there until the document is refreshed (e.g. because a Xinha field is clicked, or tab is used to jump to the next field).

      Steps to reproduce:
      1. In the CMS test, create a new Event document
      2. Leave the mandatory title field empty and click 'save'

      An error message is shown "Required field missing". This message suddenly disappears when the "Introduction" or "Body" field is clicked. It also disappears when you first click the "Title" field and then press tab.

      3. Enter a title again and click "save"
      4. In the "Date" field, enter the (illegal) hour "24" and click save

      An error message "24 is not between 0 and 23" will be shown very briefly, and then disappears automatically. The date field is reset to the old value. Users are likely to miss such an error message and wonder what went wrong.

      Expected behavior: all error messages remain visible until their value is corrected
      Actual behavior: error messages sometimes 'suddenly' disappear

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mdenburger Mathijs den Burger (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: