ICEfaces
  1. ICEfaces
  2. ICE-11013

ace:expansionToggler - JavaScript error thrown on contraction of panelExpansion

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P03
    • Fix Version/s: EE-3.3.0.GA_P04
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      If an ace:expansionToggler is set to call its changeListener, the following error/warning is thrown in the browser console when the row is contracted:

      "HTML parsing or JS evaluation error [code: 200]: During update: form:dataTablePanelExpansion_exp_0 not found"

      Once this is thrown it prevents the row from being expanded. The changeListener has a Thread.sleep(500); call to mimic some processing taking place.

      This doesn't seem to be a double submit issue as it occurs even after letting the expand update finish.

        Activity

        Arran Mccullough created issue -
        Hide
        Arran Mccullough added a comment -

        Attached test case to reproduce the error.

        Steps:

        • Load welcomeICEfaces.jsf
        • Open the dev console for the browser
        • In one of the rows, click the expand icon to expand a row.
        • Click the same icon/link, an error/warning will be displayed in the console.
        • Clicking the same icon/link again has no effect.
        Show
        Arran Mccullough added a comment - Attached test case to reproduce the error. Steps: Load welcomeICEfaces.jsf Open the dev console for the browser In one of the rows, click the expand icon to expand a row. Click the same icon/link, an error/warning will be displayed in the console. Clicking the same icon/link again has no effect.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case13765Example.war [ 22191 ]
        Attachment Case13765Example.zip [ 22192 ]
        Ken Fyten made changes -
        Summary ace:expansionToggler - JavaScript error thrown on contaction of panelExpansion ace:expansionToggler - JavaScript error thrown on contraction of panelExpansion
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
        Assignee Priority P1 [ 10010 ]
        Hide
        Arturo Zambrano added a comment -

        r48695: fix to make the expansion <tr> invisible instead of removing it, thus letting the partial update modify it, avoiding errors being thrown

        Show
        Arturo Zambrano added a comment - r48695: fix to make the expansion <tr> invisible instead of removing it, thus letting the partial update modify it, avoiding errors being thrown
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: