ICEfaces
  1. ICEfaces
  2. ICE-1945

PanelTabSets in a DataTable interfere

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      win xp

      Description

      If you include a panelTabSet in a dataTable, changing a tab in one panelTabSet changes all of the other tab sets.
      1. screenshot-1.jpg
        81 kB

        Issue Links

          Activity

          Hide
          Adnan Durrani added a comment -

          revision : 15307

          Show
          Adnan Durrani added a comment - revision : 15307
          Hide
          Sam Xiao added a comment -

          tested against 1.7dr3 build 5 clicking the tab inside the datatable caused NPE:
          java.lang.NullPointerException
          com.icesoft.faces.component.panelseries.UISeries.restoreRequiredAttribute(UISeries.java:584)
          com.icesoft.faces.component.panelseries.UISeries.processDecodes(UISeries.java:260)
          javax.faces.component.UIForm.processDecodes(UIForm.java:164)
          javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
          javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
          javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
          javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326)
          com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99)
          com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268)
          com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
          com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
          com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCyclePartial(ReceiveSendUpdates.java:64)
          com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:40)
          com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25)
          com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:52)
          com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
          com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
          com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
          com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
          com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:117)
          com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:37)
          com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
          com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
          com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:76)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)

          Show
          Sam Xiao added a comment - tested against 1.7dr3 build 5 clicking the tab inside the datatable caused NPE: java.lang.NullPointerException com.icesoft.faces.component.panelseries.UISeries.restoreRequiredAttribute(UISeries.java:584) com.icesoft.faces.component.panelseries.UISeries.processDecodes(UISeries.java:260) javax.faces.component.UIForm.processDecodes(UIForm.java:164) javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900) javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900) javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900) javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326) com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268) com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110) com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17) com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCyclePartial(ReceiveSendUpdates.java:64) com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:40) com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25) com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:52) com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50) com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19) com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19) com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29) com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:117) com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:37) com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29) com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:76) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
          Hide
          Mark Collette added a comment -

          I ran support-4207.war and duplicated the bug. Then I copied in my ICEfaces JARs with the fix from ICE-2187, and verified that the problem no longer occurred.

          Show
          Mark Collette added a comment - I ran support-4207.war and duplicated the bug. Then I copied in my ICEfaces JARs with the fix from ICE-2187 , and verified that the problem no longer occurred.
          Hide
          Jacky Lee added a comment -

          Tested content of zip file with ICEfaces 1.6.2 and also with trunk (rev 15202), does not work.

          Changing the tabs in one tabset will automatically change the tabs in other tabsets.

          Tracked this down to rev 15045 as where the problem started again. I suspect this is due to Mark's changes in rev 15045 for ICE-2124. Some of changes done by Mark removes the changes made by Yip.

          Show
          Jacky Lee added a comment - Tested content of zip file with ICEfaces 1.6.2 and also with trunk (rev 15202), does not work. Changing the tabs in one tabset will automatically change the tabs in other tabsets. Tracked this down to rev 15045 as where the problem started again. I suspect this is due to Mark's changes in rev 15045 for ICE-2124 . Some of changes done by Mark removes the changes made by Yip.
          Hide
          yip.ng added a comment -

          See ICE-2187 for more details.

          Show
          yip.ng added a comment - See ICE-2187 for more details.
          Hide
          yip.ng added a comment -

          Screenshot after the fix.

          Show
          yip.ng added a comment - Screenshot after the fix.
          Hide
          Michael Thiem added a comment -

          tested the behaviour with fixed rev 14616, still does not work.
          see attached example war file

          Show
          Michael Thiem added a comment - tested the behaviour with fixed rev 14616, still does not work. see attached example war file
          Hide
          Philip Breau added a comment -

          test case

          Show
          Philip Breau added a comment - test case

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: