Re: WOFileUpload - No form data left for WOFileUpload!
Re: WOFileUpload - No form data left for WOFileUpload!
- Subject: Re: WOFileUpload - No form data left for WOFileUpload!
- From: Chuck Hill <email@hidden>
- Date: Sat, 17 Apr 2004 16:59:42 -0700
I recall this being a bug in some past version of WO when no file was
selected. Which version are you using?
At 04:12 PM 17/04/2004 -0700, Hunter Hillegas wrote:
>I have a component that has two WOForms, each contains a separate
>WOFileUpload element.
>
>When I try to submit either form (they submit to distinct actions), I
>get the following stack trace:
>
>[2004-04-17 16:10:12 PDT] <WorkerThread11>
>java.lang.IllegalStateException:
><com.webobjects.appserver._private.WOFileUpload> No form data left for
>WOFileUpload!
> at
>com.webobjects.appserver._private.WOFileUpload.takeValuesFromRequest(WOF
>ileUpload.java:183)
> at
>com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromR
>equest(WODynamicGroup.java:81)
> at
>com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(W
>ODynamicGroup.java:89)
> at
>com.webobjects.appserver._private.WOForm.takeValuesFromRequest(WOForm.ja
>va:70)
> at
>com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromR
>equest(WODynamicGroup.java:81)
> at
>com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(W
>ODynamicGroup.java:89)
> at
>com.webobjects.appserver.WOComponent.takeValuesFromRequest(WOComponent.j
>ava:914)
> at
>com.webobjects.appserver.WOSession.takeValuesFromRequest(WOSession.java:
>1137)
> at
>com.webobjects.appserver.WOApplication.takeValuesFromRequest(WOApplicati
>on.java:1350)
>
>So, am I breaking the rules or should this work? Each form is set as
>enctype = "multipart/form-data". I have other WOFileUploads in my app
>without any trouble.
>
>If anyone has seen this and could point me in the correct direction,
>that would be great.
>
>H
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.