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

        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.
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: