Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1495

ResponseWriters should throw IllegalStateException when attributes written outside of start element

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.12-core
    • 1.2.12-core
    • None
    • None

    Description

      We have seen cases where due to bugs in Renderers and ResponseWriterWrappers, element attribute content is written inside the element body. Debugging the cause is sometimes tricky, but is much easier if the ResponseWriters throw an IllegalStateException if attributes are written after the start element has been closed for any reason

      Attachments

        1. JIRA_1495_12MAIN.patch
          2 kB
          Blake Sullivan

        Activity

          People

            matzew Matthias Wessendorf
            btsulliv Blake Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified