• 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
Local Instance of EO Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Local Instance of EO Problem


  • Subject: Local Instance of EO Problem
  • From: Joe Moreno <email@hidden>
  • Date: Sun, 13 Apr 2008 20:18:26 -0700

Hi All,

Eclipse 3.3.2
WOLips 3.3.5047
Mac OS X 10.5.2
WO 5.3.3
Not using WOnder

In the process of moving an EO from one EC to another it seems to get changed.
Am I overlooking something obvious, here?

The following code:

public void setPerson(Person newPerson)
{
NSLog.debug.appendln("1. First name newPerson = " + newPerson.firstName());
if (newPerson != null)
{
NSLog.debug.appendln("About to get local instance.");
newPerson = (Person) EOUtilities.localInstanceOfObject(_pageEditingContext, newPerson);
}
NSLog.debug.appendln("2. First name newPerson = " + newPerson.firstName());
_person = newPerson;
NSLog.debug.appendln("3. First name _person = " + newPerson.firstName());
}



Products this output:

[2008-04-13 20:12:10 PDT] <WorkerThread0> 1. First name newPerson = Sally
[2008-04-13 20:12:10 PDT] <WorkerThread0> About to get local instance.
[2008-04-13 20:12:10 PDT] <WorkerThread0> 2. First name newPerson = Joey
[2008-04-13 20:12:10 PDT] <WorkerThread0> 3. First name _person = Joey


Thanks,
Joe



 _______________________________________________
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: Local Instance of EO Problem
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: I moved my server, changed ip and now..
  • Next by Date: Re: Local Instance of EO Problem
  • Previous by thread: Re: Migrating a WOLips/Eclipse enviroment to another user and/or computer
  • Next by thread: Re: Local Instance of EO Problem
  • Index(es):
    • Date
    • Thread