• 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: Fetch calling willChange()?!!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetch calling willChange()?!!?


  • Subject: Re: Fetch calling willChange()?!!?
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 31 Jan 2008 17:20:46 -0800

Turns out this is normal. The EC ignores these calls to willChange when part of object init. This was just a red herring. My real bug was elsewhere and unrelated.

Chuck


On Jan 31, 2008, at 3:01 PM, Chuck Hill wrote:

On the off chance that someone has had this happen to them:

at net.foo.bar.core.eo.GenericRecord.willChange(GenericRecord.java: 27)
at com.webobjects.eocontrol._EOMutableKnownKeyDictionary $Initializer$_GenericRecordBinding.setValueInObject (_EOMutableKnownKeyDictionary.java:527)
at com.webobjects.eoaccess.EODatabaseContext.initializeObjectRowEntityEdi tingContext(EODatabaseContext.java:2415)
at com.webobjects.eoaccess.EODatabaseContext.initializeObject (EODatabaseContext.java:3734)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.initializeObject (EOObjectStoreCoordinator.java:646)
at com.webobjects.eocontrol.EOEditingContext.initializeObject (EOEditingContext.java:3805)
at com.webobjects.eoaccess.EODatabaseChannel $_EODatabaseChannelFetchResult.initializeObjects (EODatabaseChannel.java:478)
at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificati onEditingContext(EODatabaseContext.java:3240)
at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecificatio n(EODatabaseContext.java:3346)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpec ification(EOObjectStoreCoordinator.java:539)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecificatio n(EOEditingContext.java:4114)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecificatio n(EOEditingContext.java:4500)
at com.webobjects.eoaccess.EOUtilities.objectsForEntityNamed (EOUtilities.java:64)


willChange() gets called in other, inappropriate places too but this is the most obvious. It does not happen for all of my EOs, but for more than one. Obviously, I have angered the EOF Gods.

And it is not even Monday.


Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: 
 >Fetch calling willChange()?!!? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: App stuck on executeStoredProcedure()
  • Next by Date: Re: timestamp weirdness with WO and FrontBase
  • Previous by thread: Fetch calling willChange()?!!?
  • Next by thread: timestamp weirdness with WO and FrontBase
  • Index(es):
    • Date
    • Thread