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

You crossed editing context boundaries...


  • Subject: You crossed editing context boundaries...
  • From: WebObjects <email@hidden>
  • Date: Tue, 14 Oct 2008 16:09:49 -0500

Hello, Im trying to use this method :

addObjectsToBothSidesOfRelationshipWithKey(NSArray obj1, String arg1)

or something like that. 

What I have is my Employee and the turns that tis particular Employee selected. I dunno if I should use the method above or the other one with the same name, but with other arguments, (EORleationShipManipulation eo, String arg1).  
Anyway, I tried both but I get this error 
Error:java.lang.RuntimeException: You crossed editing context boundaries attempting to set the 'turns' relationship of (in EC er.extensions.eof.ERXEC@15e6f8) to (in EC er.extensions.eof.ERXEC@905335).
Reason:You crossed editing context boundaries attempting to set the 'turns' relationship of <controlHorarios.app.eo.Employee pk:"1"> (in EC er.extensions.eof.ERXEC@15e6f8) to <controlHorarios.app.eo.Turn pk:"1"> (in EC er.extensions.eof.ERXEC@905335).

I guess Im trying to add to emp the turns which are in different EC, no?  what can I do?

The emp I fetch it using a custom EC ERXC.newEditingContext, and this emp, I sent it to  the other component where I can select the desired turns. (if this info helps)

regards
Gus

 _______________________________________________
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: Clark Mueller <email@hidden>
  • Prev by Date: Re: WORadioButton error [SOLVED]
  • Next by Date: Re: You crossed editing context boundaries...
  • Previous by thread: Re: AjaxSlider
  • Next by thread: Re: You crossed editing context boundaries...
  • Index(es):
    • Date
    • Thread