ICEfaces
  1. ICEfaces
  2. ICE-8390

ace:dataTable - javaScript error thrown when expanding and contracting a panelExpansion

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      An ace:dataTable is set to have a nested ace:dataTable in the ace:panelExpansion panel. This nested ace:dataTable had a few ace:tooltip components defined for its contents. Once the table is rendered and the row is expanded to show the dataTable these tooltips display without any issues. If the row is contracted and then expanded the following JavaScript error is displayed in the console:

      TypeError: f(this).data("qtip") is undefined

      Once the error is thrown the tooltip component no longer show when they should.

      Another issue with this is if there is an ace:dialog on the page. Once the error is thrown it no longer will show the dialog.

        Issue Links

          Activity

          Hide
          Arran Mccullough added a comment -

          Attached test case that shows the issue.

          Steps:

          • Load welcomeICEfaces.jsf
          • Click on the Open button to show the dialog.
          • Close the dialog via the Close button.
          • Expand the row vie the expansionToggler button.
          • Hover over the nested table text, a tooltip will appear.
          • Test opening and closing the dialog if you want. Should still work fine at this point.
          • Contract the row.
          • Expand the row, error should be seen in the console.
          • At this point the tooltip won't be displayed and the dialog will not appear.
          Show
          Arran Mccullough added a comment - Attached test case that shows the issue. Steps: Load welcomeICEfaces.jsf Click on the Open button to show the dialog. Close the dialog via the Close button. Expand the row vie the expansionToggler button. Hover over the nested table text, a tooltip will appear. Test opening and closing the dialog if you want. Should still work fine at this point. Contract the row. Expand the row, error should be seen in the console. At this point the tooltip won't be displayed and the dialog will not appear.
          Hide
          Ken Fyten added a comment -

          Likely related to the component being initially rendered, then unrendered as the nested table is collapsed, then rendered again.

          Show
          Ken Fyten added a comment - Likely related to the component being initially rendered, then unrendered as the nested table is collapsed, then rendered again.
          Hide
          Ken Fyten added a comment -

          We are pursuing more robust and performance usage of the ace:tooltip within ace:dataTable under ICE-8366, and see that change as a the preferential solution to this issue.

          Show
          Ken Fyten added a comment - We are pursuing more robust and performance usage of the ace:tooltip within ace:dataTable under ICE-8366 , and see that change as a the preferential solution to this issue.
          Hide
          Arturo Zambrano added a comment -

          This issue appears to be fixed after the improvements made for ICE-8366.

          Show
          Arturo Zambrano added a comment - This issue appears to be fixed after the improvements made for ICE-8366 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved: