[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-2015) CMS content object should return a long for the size
Thomas Heute (JIRA)
jira-events at lists.jboss.org
Wed May 28 08:15:49 EDT 2008
[ http://jira.jboss.com/jira/browse/JBPORTAL-2015?page=comments#action_12414548 ]
Thomas Heute commented on JBPORTAL-2015:
----------------------------------------
On first check, this is due to the fact that those WCM files are stored as byte[] and then limited to:
java.lang.Integer.MAX_VALUE
On second thoughts, the WCM is "designed" to manipulate images and files for the web (such as images and html, not a file server) and then is not designed for large files (and really not for 2G+ files).
What is your issue exactly ?
> CMS content object should return a long for the size
> ----------------------------------------------------
>
> Key: JBPORTAL-2015
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-2015
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal CMS
> Affects Versions: 2.6.5 Final
> Reporter: Martin Putz
> Assigned To: Sohil Shah
> Fix For: 2.6.6 Final
>
>
> The Content object (org.jboss.portal.cms.model.Content) returns an int for the size of the file.
> This is clearly, using other parts of the JDK as examples, the wrong data type to be returning. It should instead return a long.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list