Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6DR#1, 1.6
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      The component-showcase in Facelet experiences a few functional problems.
      The selected table responds no selected items while the items are hightlighted
      in the Table Row Selection component.
      The content of the description tab in the Expandable Table component could not
      be displayed. It's a blank page.
      The error message in the File Upload component flames out a bit and could not
      show up consistently.

        Activity

        Hide
        Mark Collette added a comment -

        Tested on 1.5.2:

        • The selected table works properly
        • The Expanded table description is indeed empty
        • The File upload error message shows for 1 second and then disappears (type in
          a bogus file name and click upload)
        Show
        Mark Collette added a comment - Tested on 1.5.2: The selected table works properly The Expanded table description is indeed empty The File upload error message shows for 1 second and then disappears (type in a bogus file name and click upload)
        Hide
        Mark Collette added a comment -

        Tested 1.5.2 ICEfaces + 1.5.2 (JSP) component-showcase:

        • The selected table works properly
        • The Expanded table description looks fine
        • The File Upload error message stays in place

        BUT, I found that if I type in a fake file name, to make it have an upload
        error, then it will show the previously working filename with the current error
        message.

        1. Click Browse and select a valid file. Let's say it's "ABC.zip"
        2. Click Upload. It should say:
        100%
        File Name: ABC.zip
        Content Type: application/zip
        3. Type in a bogus filename, like "XYZ123"
        4. Click Upload. It will now say:
        100%
        File Name: ABC.zip
        Content Type: application/zip

        • This is not a valid file

        I think that the progress should be 0%, and it should use the new filename.

        Oh, and this exception is thrown on the server:

        org.apache.commons.fileupload.FileUploadException: This is not a valid file
        at
        com.icesoft.faces.component.inputfile.DiskFileUpload.parseRequest(DiskFileUpload.java:175)
        at
        com.icesoft.faces.component.inputfile.FileUploadServlet.processMultipartContent(FileUploadServlet.java:163)
        at
        com.icesoft.faces.component.inputfile.FileUploadServlet.doPost(FileUploadServlet.java:149)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
        org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
        org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
        org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
        at
        org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
        org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at
        org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:644)

        Show
        Mark Collette added a comment - Tested 1.5.2 ICEfaces + 1.5.2 (JSP) component-showcase: The selected table works properly The Expanded table description looks fine The File Upload error message stays in place BUT, I found that if I type in a fake file name, to make it have an upload error, then it will show the previously working filename with the current error message. 1. Click Browse and select a valid file. Let's say it's "ABC.zip" 2. Click Upload. It should say: 100% File Name: ABC.zip Content Type: application/zip 3. Type in a bogus filename, like "XYZ123" 4. Click Upload. It will now say: 100% File Name: ABC.zip Content Type: application/zip This is not a valid file I think that the progress should be 0%, and it should use the new filename. Oh, and this exception is thrown on the server: org.apache.commons.fileupload.FileUploadException: This is not a valid file at com.icesoft.faces.component.inputfile.DiskFileUpload.parseRequest(DiskFileUpload.java:175) at com.icesoft.faces.component.inputfile.FileUploadServlet.processMultipartContent(FileUploadServlet.java:163) at com.icesoft.faces.component.inputfile.FileUploadServlet.doPost(FileUploadServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:644)
        Hide
        Mark Collette added a comment -

        Fixed the issue where the Facelets component-showcase's Expanded Table's
        Description tab would be empty. All the other tabs used an IFRAME, whereas this
        used an f:verbatim tag. I didn't have time to see why f:verbatim didn't work,
        so just switched it to an IFRAME and tested with both the JSP and Facelets
        variants of component-showcase.

        Subversion 12845
        icefaces\component\doc\expandableDoc.html
        icefaces\samples\component-showcase\web\inc\components\tableExpandable.jspx

        Show
        Mark Collette added a comment - Fixed the issue where the Facelets component-showcase's Expanded Table's Description tab would be empty. All the other tabs used an IFRAME, whereas this used an f:verbatim tag. I didn't have time to see why f:verbatim didn't work, so just switched it to an IFRAME and tested with both the JSP and Facelets variants of component-showcase. Subversion 12845 icefaces\component\doc\expandableDoc.html icefaces\samples\component-showcase\web\inc\components\tableExpandable.jspx
        Hide
        Mark Collette added a comment -

        I've split off the remaining issues into their own specific IRAPtor cases, and
        so am closing this one.

        IRAPtor 1224 : component-showcase file upload can show wrong filename
        IRAPtor 1225 : Facelets component-showcase file upload error disappears

        Show
        Mark Collette added a comment - I've split off the remaining issues into their own specific IRAPtor cases, and so am closing this one. IRAPtor 1224 : component-showcase file upload can show wrong filename IRAPtor 1225 : Facelets component-showcase file upload error disappears

          People

          • Assignee:
            Unassigned
            Reporter:
            Jim Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: