igorbeslic/liferay-portal — comment on commit 867172bca71203143ce9d1bfc0d394481cd4dd13
File:  line 0
By igorbeslic:

Ray,

in UploadServletRequestImpl we have available getMultipartParameterMap
which would return file params.

Unfortunately UploadPortletRequest used by
com.liferay.portlet.journal.action.EditArticleAction#getImages doesn't have
such ability...

Maybe I should fetch underlying servletRequest in
com.liferay.portlet.journal.action.EditArticleAction#getImages

to pull imageFiles??

Maybe it is cleanest solution that doesn't need extra re-analyze?

Thanks

On Wed, Feb 1, 2012 at 4:00 PM, Raymond Augé <
reply@reply.github.com
> wrote:

> We have to re-analyze the root problem.
>
> Adding the files as parameters is the wrong solution and should never have
> been that way from the beginning. It's a memory issue. What if the file is
> 100MB, or 1GB?
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/igorbeslic/liferay-portal/commit/867172bca71203143ce9d1bfc0d394481cd4dd13#commitcomment-922622
>

--
Best regards,
Igor Bešlić,
Software Engineer

--
*Nordic Symposium*
25 April 2012
Register today: www.liferay.com/nordic2012