• 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: Cant reenter deployed application after an uncaught exception.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cant reenter deployed application after an uncaught exception.


  • Subject: Re: Cant reenter deployed application after an uncaught exception.
  • From: Markus Ruggiero <email@hidden>
  • Date: Tue, 27 Jun 2006 14:13:29 +0200


On 26.06.2006, at 18:19, Zac Konopa wrote:

After the data has been validated I lock the editing context, instantiate my record, assign the values from my instance variables, insert the object into the ec, and when appropriate I save the changes to the ec. 


This troubles me. Is this the exact sequence? Then you will end up in trouble eventually - and your problems may be because of this. Never ever modify your EO's variables before the EO is inserted into an editing context. You may want to use the follwing EOUtilities method createAndInsertInstance(EOEditingContext ec, String entityName).

Good luck and have fun
---markus---

Markus Ruggiero

rucotec consulting and technologies    email     mailto:email@hidden

rucotec GmbH                           web       http://www.rucotec.ch

Steinentorstrasse 8             

4051 Basel                             Mobile    +41 (0)79 508 4701

Switzerland                            Phone/Fax +41 (0)61 271 4990



 _______________________________________________
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: 
 >Cant reenter deployed application after an uncaught exception. (From: Zac Konopa <email@hidden>)
 >Re: Cant reenter deployed application after an uncaught exception. (From: Art Isbell <email@hidden>)
 >Re: Cant reenter deployed application after an uncaught exception. (From: Zac Konopa <email@hidden>)

  • Prev by Date: Re: appendToResponse & anchors
  • Next by Date: Re: dynamic popup list
  • Previous by thread: Re: Cant reenter deployed application after an uncaught exception.
  • Next by thread: Relation oddity
  • Index(es):
    • Date
    • Thread