Uploaded image for project: 'Change Request Application'
  1. Change Request Application
  2. CRAPP-403

When the save action is cancelled through an event listener, the error notification in the UI does not contain the thrown error message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.20
    • 1.19
    • None
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Reproduction steps:

      • Import the attached XAR which contains a listener on FileChangeDocumentSavingEvent cancelling them systematically with the reason "This event is cancelled by a custom listener."
      • Perform editions in a page
      • Save them as a new CR

      Expected result:

      • The CR cannot be saved and the notification in the editor displays the reason why

      Obtained result:

      • the CR cannot be saved but the notification only displays "Server error" as reason

      Attachments

        1. screenshot-1.png
          230 kB
          Simon Urli
        2. FileSavingListener.WebHome.xar
          2 kB
          Simon Urli

        Issue Links

          Activity

            People

              surli Simon Urli
              ralucamorosan Raluca Stavro
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: