• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOFileUpload and Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOFileUpload and Safari


  • Subject: WOFileUpload and Safari
  • From: Greg <email@hidden>
  • Date: Thu, 22 Sep 2005 11:06:31 +1000

I have a component that has a single form in it with only 1 WOFileUpload. I am using a hidden iFrame as the target of the upload and the page that gets returned to the iframe calls a javascript method to refresh its parent. It was working fine in Safari and Firefox and then all of a sudden it stopped working with Safari. It is now causing it to have an exception in the WOFileUpload:

ERXNSLogLog4jBridge.java:41 - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IllegalStateException: <er.extensions.ERXPatcher $DynamicElementsPatches$FileUpload> No form data left for WOFileUpload!
[2005-09-22 10:57:06 EST] <WorkerThread3> java.lang.IllegalStateException: <er.extensions.ERXPatcher $DynamicElementsPatches$FileUpload> No form data left for WOFileUpload!
at com.webobjects.appserver._private.WOFileUpload.takeValuesFromRequest (WOFileUpload.java:183)
at com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromR equest(WODynamicGroup.java:81)
at com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest (WODynamicGroup.java:89)


This is just the top part of the stack trace. I searched the archives and there were other people in the past that were having difficulties with it. I originally was just binding the data binding to an NSData object, but then tried the streaming binding and converted that to an NSData object. Both ways produce the same exception in Safari. I should mention that the form has a hidden field that I set before commencing the upload. It is before the WOFileUpload component. In the upload method I extract that value using the context().request ().stringFormValueForKey() call after I have created the NSData object from the stream, as in previous peoples issues, this was suggested as a possible cause.

Would anyone have any other suggestions to try to solve this issue?

Any help is greatly appreciated.

Regards,
Greg

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WOFileUpload and Safari
      • From: Greg <email@hidden>
  • Prev by Date: RE: JDBC error w/ WebObjects
  • Next by Date: Re: JDBC error w/ WebObjects
  • Previous by thread: Re: JDBC error w/ WebObjects
  • Next by thread: Re: WOFileUpload and Safari
  • Index(es):
    • Date
    • Thread