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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: