ICEfaces
  1. ICEfaces
  2. ICE-5920

InputFile.getSizeMax() always returns 0

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2-EE-GA_P01
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Linux dingbat 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
      Firefox 3.6
      IE 8

      Description

      We have code that has been using the InputFile component. We have noticed a recent change. If a user attempts to upload a file that is larger than the maximum size, the InputFile.getSizeMax() method always returns 0. This used to return the maximum size that a file could be to be uploaded.

      The behaviour seems correct (uploading a file less than the maximum works, attempts to upload a file larger than the prescibed maximum fail). However, we're using this value in order to state why the upload was prevented. And we can no longer provide the maximum size as part of the message.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Ed Hillmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: