ICEfaces
  1. ICEfaces
  2. ICE-9174

REGRESSION: ace:dataTable - Dynamically toggling columns causes a duplicate id exception (MyFaces Specific)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2, 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces3 trunk revision# 34375
      MyFaces
    • Assignee Priority:
      P2

      Description

      Dynamically removing columns and then re-adding them causes a Server Internal Error popup and an exception (myfaces specific issue):
      java.lang.IllegalStateException: component with duplicate id "testTable:j_id_b_1" found
              at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:54)
      ...

      To reproduce:
      1) Build / deploy test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/dataTable
      2) Navigate to Dynamic Column test
      3) Remove ALL the columns
      4) Add a couple columns (exception is seen)

        Activity

        Hide
        Carmen Cristurean added a comment -

        A Server Internal Popup and the same server side exception occurs when entering or removing a filter for any column.

        Show
        Carmen Cristurean added a comment - A Server Internal Popup and the same server side exception occurs when entering or removing a filter for any column.
        Hide
        Nils Lundquist added a comment -

        Revision #34726
        Committed by nils.lundquist
        2 minutes ago
        ICE-9174 - Altered test to prevent known shortcomings of c:forEach

        Show
        Nils Lundquist added a comment - Revision #34726 Committed by nils.lundquist 2 minutes ago ICE-9174 - Altered test to prevent known shortcomings of c:forEach
        Hide
        Liana Munroe added a comment -

        Confirmed fixed on trunk revision 36222 and on icefaces-ee revision #34750

        Show
        Liana Munroe added a comment - Confirmed fixed on trunk revision 36222 and on icefaces-ee revision #34750

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: