Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10669

Create and edit content with FOContentCreationHelper does not handle global errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.3, 4.7.16, 4.9.0
    • 4.3.10, 4.4.0
    • None
    • None

      When a global validator failed, a exception is thrown and never catched.

      The label of error is lost and we are unable to display an understandable message to the user.

      For example, use UGC plugin (with form.xsl helper) to submit a news with start and end date. If you choose a end date < to the start date, a global validator failed but the user has only an error "An error occurs whiling submitting the content" in an alert box.

      It is not possible to display the label of original error at top of the form for example.

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: