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

[Backport to 7.9] - Error messages in document editor disappear automatically when a ping (ajax call) arrives

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.22.02, 2.24.00, 2.26.10
    • 2.26.15
    • None
    • 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

              Unassigned Unassigned
              cngo Canh Ngo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: