• 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: You crossed editing context boundaries...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: You crossed editing context boundaries...


  • Subject: Re: You crossed editing context boundaries...
  • From: "Ricardo J. Parada" <email@hidden>
  • Date: Tue, 14 Oct 2008 18:52:21 -0400


On Oct 14, 2008, at 6:23 PM, WebObjects wrote:

NSArray<EOSortOrdering> order = new NSArray(new ERXSortOrdering("id",ERXSortOrdering.CompareAscending));


This is not related to your problem... but since it looks like you are using Wonder I think you can do this too to get your sort orderings:

NSArray<EOSortOrdering> order = new WorkDay.ID.asc().array();

By the way this looks similar to the screencast for using Wonder part II.  Have you looked at that?  It shows you how to setup a login page using direct actions and only creating the session when needed, i.e. after a successful login.

And regarding your problem, if you are adding turns to your employee EO then you need to make sure they were both fetched in the same editing context. ak.a. EO sandbox.  If they are not in the same editing context then simply take one of the EOs, for instance, your employee EO and get a copy in the editing context you used to fetch the turns.  You can do this as mentioned by others.
 
 _______________________________________________
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: You crossed editing context boundaries...
      • From: Mike Schrag <email@hidden>
References: 
 >You crossed editing context boundaries... (From: WebObjects <email@hidden>)
 >Re: You crossed editing context boundaries... (From: Clark Mueller <email@hidden>)
 >Re: You crossed editing context boundaries... (From: WebObjects <email@hidden>)
 >Re: You crossed editing context boundaries... (From: Clark Mueller <email@hidden>)
 >Re: You crossed editing context boundaries... (From: WebObjects <email@hidden>)

  • Prev by Date: Re: You crossed editing context boundaries...
  • Next by Date: Re: You crossed editing context boundaries...
  • Previous by thread: Re: You crossed editing context boundaries...
  • Next by thread: Re: You crossed editing context boundaries...
  • Index(es):
    • Date
    • Thread