Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File

2016-11-21 Thread Lukasz Lenart
2016-11-21 20:12 GMT+01:00 Aaron Johnson : > Is it possible to have a converter from UploadedFile to File? The > UploadedFile has a getContent() method that returns the File object. Hm... it would be possible to add a converter, that should work :) Regards -- Łukasz + 48 606 323 122 http://www.

Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File

2016-11-21 Thread Aaron Johnson
Is it possible to have a converter from UploadedFile to File? The UploadedFile has a getContent() method that returns the File object. On Mon, Nov 21, 2016 at 7:28 AM, Christoph Nenning < christoph.nenn...@lex-com.net> wrote: > Surly there will be users complaining. We should at least provide a c

Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File

2016-11-21 Thread Christoph Nenning
Surly there will be users complaining. We should at least provide a config switch and deprecation warning. Regards, Christoph > From: Lukasz Lenart > To: Struts Developers List , > Date: 21.11.2016 10:58 > Subject: Re: [jira] [Updated] (WW-4717) Refactor file upload support > to allow crea

Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File

2016-11-21 Thread Lukasz Lenart
PR is here https://github.com/apache/struts/pull/114 2016-11-21 10:58 GMT+01:00 Lukasz Lenart : > I would like to refactor file upload logic to use a virtual > representation of a file but this requires changes in users' > applications as well, instead of using java.io.File they will have to > swi

[GitHub] struts pull request #114: Virtual file representation

2016-11-21 Thread lukaszlenart
GitHub user lukaszlenart opened a pull request: https://github.com/apache/struts/pull/114 Virtual file representation WW-4717 adds virtual file representation to allow implement `MultiPartRequest` on Google AppEngine You can merge this pull request into a Git repository by running:

Re: [jira] [Updated] (WW-4717) Refactor file upload support to allow create virtual representation of java.io.File

2016-11-21 Thread Lukasz Lenart
I would like to refactor file upload logic to use a virtual representation of a file but this requires changes in users' applications as well, instead of using java.io.File they will have to switch to UploadedFile Struts class. Not sure if it is worth doing :\ Regards -- Łukasz + 48 606 323 122