• 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
Newbie : help to customize an D2W freeze component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie : help to customize an D2W freeze component


  • Subject: Newbie : help to customize an D2W freeze component
  • From: Gilles MATHURIN <email@hidden>
  • Date: Fri, 18 Aug 2006 08:54:14 -0400

Hello all

i freeze an edit page in order to allow the upload of a media resource in my database by a WOFileUpload.
I first went in a too complicated way, so i rethink how i could do that with the help of Chuck and R.Walker.


So what i did, is simply freeze the edit page and include an WOFileUpload in it. This WOFileUpload is bound to a NSData variable i created, i also change the enctype of the WOForm containing the newly WOFileUpload.

I didn't know if it should work, but i had a good feeling about this way of doing it.

Unfortunately, i have an error message. On the other hand, this error message is different from my precedents. It seems to deals with the record in the database and the fact that my edit page try to change a record which seems to be inexistant. At least this how i understand it.

Here the stack trace :

Exception occurred while handling request:
java.lang.IllegalStateException: recordDeleteForObject: com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@c18c31 failed to find a snapshot for EO with Global ID:_EOIntegralKeyGlobalID[ExtraitTitre (java.lang.Long)1] that has been deleted from com.webobjects.eocontrol.EOEditingContextcom.webobjects.eocontrol.EOEdit ingContext@9bc401. Cannot delete an object that has not been fetched from the database
[2006-08-18 08:30:21 AST] <WorkerThread4> java.lang.IllegalStateException: recordDeleteForObject: com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@c18c31 failed to find a snapshot for EO with Global ID:_EOIntegralKeyGlobalID[ExtraitTitre (java.lang.Long)1] that has been deleted from com.webobjects.eocontrol.EOEditingContextcom.webobjects.eocontrol.EOEdit ingContext@9bc401. Cannot delete an object that has not been fetched from the database


Any idea for help ?

Thanks

Regards.

GM


_______________________________________________ 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: Newbie : help to customize an D2W freeze component
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Many questions about SCM and svn in XCode
  • Next by Date: Re: Many questions about SCM and svn in XCode
  • Previous by thread: WOHTTPConnection and broken pipe
  • Next by thread: Re: Newbie : help to customize an D2W freeze component
  • Index(es):
    • Date
    • Thread