[
https://issues.apache.org/jira/browse/TRINIDAD-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabrielle Crawford updated TRINIDAD-2267:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0-core
Status: Resolved (was: Patch Available)
> default value for org.apache.myfaces.trinidad.UPLOAD_MAX_FILE_SIZE is not
> right
> -------------------------------------------------------------------------------
>
> Key: TRINIDAD-2267
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2267
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 2.0.1-core
> Reporter: Kentaro Kinebuchi
> Priority: Minor
> Fix For: 2.1.0-core
>
> Attachments: max_file_size_default.patch
>
>
> As part of TRINIDAD-2156 a new parameter
> org.apache.myfaces.trinidad.UPLOAD_MAX_FILE_SIZE was added which limits the
> size of files which can be uploaded. Currently, the value of
> org.apache.myfaces.trinidad.UPLOAD_MAX_FILE_SIZE is set to default to 2MB
> which is the same as the default for
> org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE. However, this causes
> problems with backward compatibility since people who have a higher
> org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE value will have to add the
> org.apache.myfaces.trinidad.UPLOAD_MAX_FILE_SIZE parameter to enable upload
> of larger files. The default value of
> org.apache.myfaces.trinidad.UPLOAD_MAX_FILE_SIZE should be updated to be -1
> so that the default size is unlimited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira