• 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: Phantom Object Creation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Phantom Object Creation?


  • Subject: Re: Phantom Object Creation?
  • From: Miguel Arroz <email@hidden>
  • Date: Sun, 27 Apr 2008 17:31:46 +0100

Hi!

It appears that a new object is being created and related to your campaignItem. Try to understand where by overriding some methods used by WO to build the relationship and logging there.

  Yours

Miguel Arroz

On 2008/04/27, at 17:20, James Cicenia wrote:

OK-

I have tripled checked my database and my model.

I have a row it the database where the partner_link_id is null in campaign.
It once contained a value.
I deleted the partner_link and relied on the nullify directive in EntityModeler
That seemed to work.



Now, however when I go into a campaign and test for campaign.partnerLink()==null
I am getting a false positive?


And, all the attributes of this supposed partnerLink are null.

Finally a debug says:

campaignItem.partnerLink() IS <java.lang.Class(c6a657) Fault _EOIntegralKeyGlobalID[PartnerLink (java.lang.Integer)102887]>

That number 102887 isn't even correct as the last EO_PK for that table is 102885?!

Thoughts?

James Cicenia
_______________________________________________
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

Miguel Arroz http://www.terminalapp.net http://www.ipragma.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Phantom Object Creation? (From: James Cicenia <email@hidden>)

  • Prev by Date: Phantom Object Creation?
  • Next by Date: Re: Phantom Object Creation?
  • Previous by thread: Phantom Object Creation?
  • Next by thread: Re: Phantom Object Creation?
  • Index(es):
    • Date
    • Thread