• 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
Can not undo delete
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can not undo delete


  • Subject: Can not undo delete
  • From: Daniel Eggert <email@hidden>
  • Date: Thu, 4 Aug 2005 12:30:12 +0200

Hi all,

I'm new to WebObjects... I'm adding and deleting objects to my EOEditingContext through my WODisplayGroup. If I run
EOEditingContext ec = session().defaultEditingContext();
ec.revert();
my additions get reverted, but my deletes stay in effect, i.e. any objects that were delete do not get back.


The documentation reads: "revert() clears the undo stack, discards all insertions and deletions, and restores updated objects to their last committed (saved) values."

I tried to set
    setPropagatesDeletesAtEndOfEvent(false);
but I get the same behaviour.

What did I miss?

/Daniel

_______________________________________________
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: Can not undo delete
      • From: George Domurot <email@hidden>
  • Prev by Date: AW: Too many open files killed xServe from the net
  • Next by Date: Re: A Case For Wonder/D2W (was: How would you handle such situation?)
  • Previous by thread: Re: lockRowComparingAttributes (yet again)
  • Next by thread: Re: Can not undo delete
  • Index(es):
    • Date
    • Thread