• 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
Re: WOFileUpload + Safari 3 Beta
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOFileUpload + Safari 3 Beta


  • Subject: Re: WOFileUpload + Safari 3 Beta
  • From: Clark Mueller <email@hidden>
  • Date: Mon, 06 Aug 2007 04:05:02 -0600

Chuck,

It indeed worked correctly in another user account. Like the OS X hint you provided suggests, the problem is indeed related to the Safari cache folder. I checked it in the shell, and it was empty, so I didn't think anything could be going on there. It was, however, flagged as locked. I unlocked the folder, and it works perfectly now. Bizarre...

Thanks much,
Clark

On 2 Aug 07, at 11:36 AM, Chuck Hill wrote:

Hi Clark,

On Aug 1, 2007, at 6:56 PM, Clark Mueller wrote:

Hi there,

Is anyone else experiencing problems with the Safari 3.0.2/3.0.3 beta and WOFileUpload? I have the following in my wod file (fileData is an NSData object and filePath is a String):

<p>
<wo:WOFileUpload data = "$fileData" filePath = "$filePath" />
</p>
<p>
<wo:WOSubmitButton value = "Upload File" action = "$uploadFile" />
</p>

When the user clicks on the submit button, Safari spits back:
Safari can’t open the page <blah>. The error was: “POSIX error: Invalid argument” (NSPOSIXErrorDomain:22) Please choose Report Bugs to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

This is NOT a problem in Firefox, or the latest WebKit nightly. Just want to see if I'm doing something wrong, or if I should go ahead and do as the error message tells me. :-)

You are not going to get an NSPOSIXErrorDomain out of a WO app. That is an error out of Safari. Google NSPOSIXErrorDomain:22


http://forums.macosxhints.com/archive/index.php/t-43873.html

Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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
References: 
 >WOFileUpload + Safari 3 Beta (From: Clark Mueller <email@hidden>)
 >Re: WOFileUpload + Safari 3 Beta (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WOFileUpload + Safari 3 Beta
  • Next by Date: Making individual objects bookmarkable
  • Previous by thread: Re: WOFileUpload + Safari 3 Beta
  • Next by thread: Re: WOFileUpload + Safari 3 Beta
  • Index(es):
    • Date
    • Thread