Uploaded image for project: 'Publishing'
  1. Publishing
  2. PUBLISHING-116

Exception root cause is lost when publishing fails for a new page

XMLWordPrintable

      Steps to reproduce

      1. Create a new page with Basic Template
      2. Create HTML component and insert UTF-16 symbol (e.g. this one)
      3. Try to publish the page

      Actual behavior

      1. Publisher can only see very common message
        Publishing failed, please contact your system administrator to help you resolve the issue.
        
      2. Log message on public instance gives no additional information

      Expected behavior

      1. Log message shows the exception root cause smth like
        javax.jcr.InvalidSerializedDataException: XML parse error
        ...
        Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 4047; Character reference "&#55357" is an invalid XML character.
        ...
        

      Development Notes

      1. Exception is "eaten" on this line
      2. In the same class in other use-case exception is not eaten, see this line

        Acceptance criteria

              oanh.thai Oanh Thai Hoang
              bfaniuk Boris Faniuk
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 2.5h
                    2.5h