Topic
  • 1 reply
  • Latest Post - ‏2013-02-13T12:00:16Z by SystemAdmin
SystemAdmin
SystemAdmin
6195 Posts

Pinned topic FileUpload broken in 7.5.1.8?

‏2013-02-12T10:55:23Z |
We have an existing JSF application built with (probably) RBD 7.5.1.5 and deployed to Tomcat 5.5. We tried to migrate to Tomcat 6, but we observed that all pages that contain a hx:fileupload component crash. In order to check that the migration is not the culprit, I re-built and re-deployed the application with 7.5.1.8 to Tomcat 5.5 and the pages still crash. The result is cumbersome:

javax.faces.FacesException: Assertion Failed com.sun.faces.util.Util.doAssert(Util.java:1336) com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:290) com.ibm.faces.application.DevelopmentStateManager.restoreView(DevelopmentStateManager.java:101) com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:250) com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:177) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110) javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)

I created a test case in both 7.5.1.4 and 7.5.1.8 as follows:
1) Create new EGL web project (with Tomcat 5.5 as runtime)
2) Add a web page
3) Add string variables gFile and gFilename to pagehandler
4) Add dummy doClick function to pagehandler
5) Add hx:fileupload component to web page and bind it to variables gFile and gFilename
6) Add button for action doClick
When deployed from 7.5.1.4 everything goes fine. When deployed from 7.5.1.8 the application crashes. The same happens when deployed to Tomcat 6. Deploying from RBD 8.5 goes file but we are not ready to upgrade to RBD 8.5 yet.

Has anyone else had issues with file upload in 7.5.1.8? Is this something development should take a look at?
Updated on 2013-02-13T12:00:16Z at 2013-02-13T12:00:16Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6195 Posts

    Re: FileUpload broken in 7.5.1.8?

    ‏2013-02-13T12:00:16Z  
    Apparently this was a known issue. The version of jsf-ibm.jar that is shipped with RBD 7.5.1.8 is 3.1.12. IBM support sent me a newer version of the jar and the problem vanished.

    Thanks to the support folks for solving the issue really quickly!