ICEfaces
  1. ICEfaces
  2. ICE-11026

ace:panelStack renders extra stackPane when using myfaces libs in QA application

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.0.0.GA, 4.1.1
    • Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, 4.2.BETA, 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces EE-4.1.0, ICEfaces 4 trunk r48694. Tomcat 8, all browsers.
      This is not an issue with the showcase > ace:panelStack demos when built with myfaces libs
    • Assignee Priority:
      P2

      Description

      When testing the QA panelStack applications /overview.jsf and /client.jsf an extra stackPane is rendered when dynamically changing which pane to open.
      Not an issue with mojarra libs.
      This is only happening when using myfaces libs in the QA test app and does not occur when using the showcase > ace:panelStack demos when built with myfaces libs.
      The differences between the 2 applications are:
      1.) showcase app is inside an ace:panel, ui:define and ui:compostion
      2.) showcase bean scope is window and QA app is view

      The QA panelStack application is found at:
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/panelStack

      A server error was seen only in Tomcat 8 while deploying the QA application built with myfaces libs:
      05-May-2016 15:03:55.638 SEVERE [localhost-startStop-1] org.apache.catalina.sess
      ion.StandardManager.doLoad standardManager.loading.ioe
       java.io.EOFException
              at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream
      .java:2325)
              at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputS
      tream.java:2794)
              at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801
      )
              at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
              at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectI
      nputStream.java:56)
              at org.apache.catalina.session.StandardManager.doLoad(StandardManager.ja
      va:223)
              at org.apache.catalina.session.StandardManager.load(StandardManager.java
      :180)
              at org.apache.catalina.session.StandardManager.startInternal(StandardMan
      ager.java:460)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContex
      t.java:5213)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
      .java:725)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:70
      1)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)

              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917)

              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
      1701)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
      1)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
      java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:615)
              at java.lang.Thread.run(Thread.java:745)

      05-May-2016 15:03:55.638 SEVERE [localhost-startStop-1] org.apache.catalina.sess
      ion.StandardManager.startInternal Exception loading sessions from persistent sto
      rage
       java.io.EOFException
              at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream
      .java:2325)
              at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputS
      tream.java:2794)
              at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801
      )
              at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
              at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectI
      nputStream.java:56)
              at org.apache.catalina.session.StandardManager.doLoad(StandardManager.ja
      va:223)
              at org.apache.catalina.session.StandardManager.load(StandardManager.java
      :180)
              at org.apache.catalina.session.StandardManager.startInternal(StandardMan
      ager.java:460)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContex
      t.java:5213)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
      .java:725)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:70
      1)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)

              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917)

              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
      1701)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
      1)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
      java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:615)
              at java.lang.Thread.run(Thread.java:745)

        Activity

        Hide
        Judy Guglielmin added a comment - - edited

        see the comment on the commit (rev 45057) or see the updated web.xml. All ace components should be tested with and without this so a baseline can be created properly. It is very possible that any component with a handler (AjaxBehavior, panelStack, fileEntry...not sure of any others) could very possibly not work without these 2 context-params. (is this documented anywhere?).

        ace:panelStack requires the two context-params for myfaces org.apache.myfacesREFRESH_TRANSIENT_BUILD_ON_PSS and org.apache.myfacesREFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE in order for ace:panelStack to work properly.

        Show
        Judy Guglielmin added a comment - - edited see the comment on the commit (rev 45057) or see the updated web.xml. All ace components should be tested with and without this so a baseline can be created properly. It is very possible that any component with a handler (AjaxBehavior, panelStack, fileEntry...not sure of any others) could very possibly not work without these 2 context-params. (is this documented anywhere?). ace:panelStack requires the two context-params for myfaces org.apache.myfacesREFRESH_TRANSIENT_BUILD_ON_PSS and org.apache.myfacesREFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE in order for ace:panelStack to work properly.
        Hide
        Liana Munroe added a comment - - edited

        Verified panelStack application fix ICEfaces EE-4.1.0 BETA r48727, Tomcat 8, IE 11, FF 43, Chrome 50.
        Tested with the QA standalone ajax and fileEntry applications using the myfaces libs. There was no need to add the extra context-params to the web.xml
        The suggested testing of each ace:component with and without the added context-params in the web.xml will commence. This testing is extensive and will take some time to complete.

        Show
        Liana Munroe added a comment - - edited Verified panelStack application fix ICEfaces EE-4.1.0 BETA r48727, Tomcat 8, IE 11, FF 43, Chrome 50. Tested with the QA standalone ajax and fileEntry applications using the myfaces libs. There was no need to add the extra context-params to the web.xml The suggested testing of each ace:component with and without the added context-params in the web.xml will commence. This testing is extensive and will take some time to complete.

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: