Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-15 Thread Dale Newfield
Alex Siman wrote: I use [2.1.8]. Just read the version of Struts in a Subject of this thread. Whoops--my bad. -Dale - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-15 Thread Alex Siman
I use [2.1.8]. Just read the version of Struts in a Subject of this thread. Additionally I listed versions of Struts related JARs in first message. DNewfield wrote: > >>> Alex Siman wrote: The issue has gone away, after I removed plugin [struts2-fileupload-plugin-2.1.7-SNAPSHOT.jar]. B

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-14 Thread Dale Newfield
Alex Siman wrote: The issue has gone away, after I removed plugin [struts2-fileupload-plugin-2.1.7-SNAPSHOT.jar]. But this plugin works correctly w/ Struts 2.1.6. And how about 2.1.8? If you haven't event checked it against the released version it's not fair to make someone else go track it d

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-14 Thread Wes Wannemacher
I haven't looked at it in a while :( Sorry, but Martin's right (did I just type that, I need to go wash my hands ... Okay, so put in the stack trace and maybe link to this thread on nabble and I'll take a look as soon as I can. -Wes On Wed, Oct 14, 2009 at 9:08 PM, Alex Siman wrote: > > Wes W

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-14 Thread Alex Siman
Wes Wannemacher, what is wrong w/ this file upload plugin and Struts 2.1.8? Alex Siman wrote: > > The issue has gone away, after I removed plugin > [struts2-fileupload-plugin-2.1.7-SNAPSHOT.jar]. But this plugin works > correctly w/ Struts 2.1.6. > -- View this message in context: http://www

RE: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-14 Thread Martin Gainty
esponsabilité pour le contenu fourni. > Date: Wed, 14 Oct 2009 17:54:07 -0700 > From: aleksandr.si...@gmail.com > To: dev@struts.apache.org > Subject: Re: Bug: Struts 2.1.8 and "multipart/form-data" > > > The issue has gone away, after I removed plugin > [stru

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-14 Thread Alex Siman
The issue has gone away, after I removed plugin [struts2-fileupload-plugin-2.1.7-SNAPSHOT.jar]. But this plugin works correctly w/ Struts 2.1.6. Alex Siman wrote: > > If form uses [enctype="multipart/form-data"] then Struts2 stores request > params in session (I suppose, at least not in request)

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-14 Thread Alex Siman
Yes, I use scope="prototype". If I just remove "multipart/form-data" from the HTML markup, then action works correct. I added "helperField" w/o getters/setters, and its value are changed w/ every request, not preppending for this field. Seems like debugging needed. Musachy Barroso wrote: > > are

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-14 Thread Musachy Barroso
are you sure that a new instance of your action is created everytime, like if using spring, scope="prototype"? musachy On Wed, Oct 14, 2009 at 2:20 AM, Alex Siman wrote: > > Yes, it is very strange behaviour... > > Say action with "multipart/form-data" is named UploadAction. And we have > anothe

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-14 Thread Alex Siman
Yes, it is very strange behaviour... Say action with "multipart/form-data" is named UploadAction. And we have another action AnotherAction. If we execute UploadAction couple times, then execute AnotherAction, and then again return to UploadAction the all properties of it will be prepended with pr

Re: Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-13 Thread Musachy Barroso
why do you think it stores them in the session? that sounds weird. musachy On Tue, Oct 13, 2009 at 4:58 PM, Alex Siman wrote: > > If form uses [enctype="multipart/form-data"] then Struts2 stores request > params in session (I suppose, at least not in request). And with every form > submit Struts

Bug: Struts 2.1.8 and "multipart/form-data"

2009-10-13 Thread Alex Siman
If form uses [enctype="multipart/form-data"] then Struts2 stores request params in session (I suppose, at least not in request). And with every form submit Struts2 prepend prev value of parameter to a new one separated by a comma. Example: update.jsp --