ICEfaces
  1. ICEfaces
  2. ICE-8767

Icefaces3 sample regressions: Showcase - FileEntry - Callback: Unable to upload file

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: EE-3.2.0.BETA, EE-3.2.0.GA, 3.3
    • Component/s: QA, Sample Apps
    • Labels:
      None
    • Environment:
      Icefaces3/trunk revision# 32034
    • Assignee Priority:
      P2

      Description


      FileEntry - Callback - uploading non-pdf files causes "PDF files cannot be uploaded. Upload cancelled for : filename.notpdf" error when sending the file; issue occurs when a pdf file is selected as the first file to upload on initial page load. If a non-pdf file is selected at initial page load, upload will work fine but as soon as a pdf file is uploaded, unable to upload non-pdf files onward.

      To Reproduce:
      -Build showcase app from ...\svn\ossrepo\icefaces3\trunk\icefaces and deploy onto Tomcat7
      -Go to FileEntry > Callback
      -Browse and Upload a non-pdf file (notice this works)
      -Browse and Upload a pdf file (This is expected)
      -Browser and Upload a non-pdf file
      -Notice that the upload fails even when the file is a non-pdf file

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32166 Wed Nov 14 17:22:51 MST 2012 mark.collette ICE-8767 : Icefaces3 sample regressions: Showcase - FileEntry - Callback: Unable to upload file
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/file/FileEntryCallbackBean.java
        Migration created issue -
        Hide
        Jerome Ruzol added a comment - - edited

        was:
        Icefaces3/trunk revision# 32034
        Server: tomcat6
        Browser: FF3.6, IE7 & GoogleChrome22
        Last Known Working Rev#: N/A

        Show
        Jerome Ruzol added a comment - - edited was: Icefaces3/trunk revision# 32034 Server: tomcat6 Browser: FF3.6, IE7 & GoogleChrome22 Last Known Working Rev#: N/A
        Hide
        Mark Collette added a comment - - edited

        There was code in the showcase bean that would set a failure flag based on if the file was a PDF, but it only set it on failure, not success, so once you failed that was it going forward. It now sets the flag properly every upload.
        icefaces3 trunk
        Subversion 32166

        Show
        Mark Collette added a comment - - edited There was code in the showcase bean that would set a failure flag based on if the file was a PDF, but it only set it on failure, not success, so once you failed that was it going forward. It now sets the flag properly every upload. icefaces3 trunk Subversion 32166
        Hide
        Mark Collette added a comment - - edited

        Security: (was: Private)

        Show
        Mark Collette added a comment - - edited Security: (was: Private)
        Hide
        Carmen Cristurean added a comment - - edited

        Verified fix with ICEfaces3 trunk rev# 32166 in Firefox16.

        Show
        Carmen Cristurean added a comment - - edited Verified fix with ICEfaces3 trunk rev# 32166 in Firefox16.
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] Jerome Ruzol [ jerome.ruzol ]
        Migration made changes -
        Assignee Mark Collette [ mark.collette ]
        Fix Version/s EE-3.2.0.GA [ 10332 ]
        Assignee Priority P2 [ 10011 ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Migration made changes -
        Fix Version/s 3.3 [ 10370 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.2.0.BETA [ 10573 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mark Collette
            Reporter:
            Jerome Ruzol
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: