ICEfaces
  1. ICEfaces
  2. ICE-3984

compressDOM TextArea may be null

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8DR#2
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces, compressDOM=true

      Description


      component-showcase throws a NullPointerException in applyBrowserDOMChanges() when DOM compression is used.

        Activity

        Hide
        Ted Goddard added a comment -

        There are several sources of "non-normalized" DOM values:

        • text nodes with empty strings may be appended to the DOM (DOMResponseWriter can skip these)
        • the ConnectionStatus component may append an empty string as a label
        • the state saving marker is encoded as a series of text nodes
        • Facelets appears to pass CDATA sections through to the component when XML parsing of the input would dictate direct conversion to character data
        Show
        Ted Goddard added a comment - There are several sources of "non-normalized" DOM values: text nodes with empty strings may be appended to the DOM (DOMResponseWriter can skip these) the ConnectionStatus component may append an empty string as a label the state saving marker is encoded as a series of text nodes Facelets appears to pass CDATA sections through to the component when XML parsing of the input would dictate direct conversion to character data
        Hide
        Ted Goddard added a comment -

        fix checked in for applyBrowserDOMChanges()

        Show
        Ted Goddard added a comment - fix checked in for applyBrowserDOMChanges()
        Hide
        Mandeep Hayher added a comment -

        Tested successfully on ICEFaces1.8RC1 build2, jsp component-showcase & Tomcat5 server using following steps:
        1) Set compressDOM to true in web.xml
        2) Text input components should behave normally for test to be considered as pass

        Show
        Mandeep Hayher added a comment - Tested successfully on ICEFaces1.8RC1 build2, jsp component-showcase & Tomcat5 server using following steps: 1) Set compressDOM to true in web.xml 2) Text input components should behave normally for test to be considered as pass

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: