ICEfaces
  1. ICEfaces
  2. ICE-9812

ice:panelPopup with radioButtons which manage ice:inputTextArea cause missing end-element and rendering problems

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: EE-3.3.0.GA_P02
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      jsf2 compat components
    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      see attached test case.
      to reproduce see test case and page:-
      12628/testMainWindow.jsf

      click on radio button "Other" which will set the rendered flag for inputTextArea to true, server log will show the following and popup gets mangled.

      Jan 31, 2014 5:27:26 PM org.icefaces.impl.context.DOMResponseWriter endElement
      WARNING: Missing end-element for: td[id="privateForm:pg3-3-0"] (path: #document -> html -> body -> table -> tr -> td -> form -> div -> div -> table -> tr -> td -> div -> table -> tbody -> tr -> td)
      Jan 31, 2014 5:27:26 PM org.icefaces.impl.context.DOMResponseWriter endElement
      WARNING: Missing end-element for: td[id="privateForm:pg3-5-0"] (path: #document -> html -> body -> table -> tr -> td -> form -> div -> div -> table -> tr -> td -> div -> table -> tbody -> tr -> td)

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000ZDvw0AAD
        Hide
        Judy Guglielmin added a comment -

        test case

        Show
        Judy Guglielmin added a comment - test case
        Judy Guglielmin made changes -
        Attachment 12629.zip [ 16663 ]
        Judy Guglielmin made changes -
        Salesforce Case Reference 5007000000ZDvw0AAD
        Judy Guglielmin made changes -
        Salesforce Case Reference 5007000000ZDuuhAAD
        Hide
        Judy Guglielmin added a comment -

        support case issue assigned to you for scheduling.

        Show
        Judy Guglielmin added a comment - support case issue assigned to you for scheduling.
        Judy Guglielmin made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Assignee Priority P2 [ 10011 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ] Mircea Toma [ mircea.toma ]
        Hide
        Mircea Toma added a comment -

        The issue occurs when plain HTML markup is rendered by UIInstructions components. These can call ResponseWriter.startElement without its corresponding close. GridRender is using DOMContext which interferes now with the correct handling of the DOM cursor.
        The fix changes GridRenderer to avoid calling DOMContext.setCursorParent, letting DOMResponseWriter to keep track of the cursor.

        Show
        Mircea Toma added a comment - The issue occurs when plain HTML markup is rendered by UIInstructions components. These can call ResponseWriter.startElement without its corresponding close. GridRender is using DOMContext which interferes now with the correct handling of the DOM cursor. The fix changes GridRenderer to avoid calling DOMContext.setCursorParent, letting DOMResponseWriter to keep track of the cursor.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        AuctionMonitor Layout is broken after revision #39920. See attached screenshot auctionMonitor.PNG

        Show
        Liana Munroe added a comment - AuctionMonitor Layout is broken after revision #39920. See attached screenshot auctionMonitor.PNG
        Liana Munroe made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Security Private [ 10001 ]
        Liana Munroe made changes -
        Attachment auctionMonitor.PNG [ 16678 ]
        Ken Fyten made changes -
        Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
        Hide
        Mircea Toma added a comment -

        Reverted change to GridRenderer, the cursor is set correctly on the TD element.

        The fix modifies DOMResponseWriter to avoid tracking unclosed tags for document elements that have not been created through ResponseWriter.startElement/endElement methods. Since compat components use DOMContext to create elements directly into the backing DOM it does not make sense to track unclosed tag state.

        Show
        Mircea Toma added a comment - Reverted change to GridRenderer, the cursor is set correctly on the TD element. The fix modifies DOMResponseWriter to avoid tracking unclosed tags for document elements that have not been created through ResponseWriter.startElement/endElement methods. Since compat components use DOMContext to create elements directly into the backing DOM it does not make sense to track unclosed tag state.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        AuctionMonitor Layout verified fixed. Tomcat 6, 7, Icefaces ee-3.3.0, revision #40043.

        Show
        Liana Munroe added a comment - AuctionMonitor Layout verified fixed. Tomcat 6, 7, Icefaces ee-3.3.0, revision #40043.
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: