• 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: Bug in WO5.4.3? (was: Snapshots mysteriously vanishing?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in WO5.4.3? (was: Snapshots mysteriously vanishing?)


  • Subject: Re: Bug in WO5.4.3? (was: Snapshots mysteriously vanishing?)
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 26 Mar 2010 09:40:24 -0400

>> But the _fastHashRemove() method seems to be wrong. It doesn't set _lastGID to null. This means, I could insert(valueA, keyA), then remove(keyB) and then get(keyA) would return null instead of valueA?
>
> That's something I can observe from time to time in my apps where I get errors like
>
> java.lang.IllegalStateException: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation {_dbSnapshot = {}; _entity = <snip> _databaseOperator = "EODatabaseUpdateOperator"; } does not contain value for attribute named catalogID with snapshot key: catalogID
>
> though all other values are present just that one 'catalogID' does not appear anymore. I never found why this happens but your explanation could fit that situation well.
I don't think you're seeing that particular cause ... There are lots of different ways what you're seeing could happen, but the scenario described above doesn't actually occur inside of EODatabase. It's a hypothetical that COULD happen of someone was not careful calling those internal APIs, but I don't see any calls that do it wrong.

ms
 _______________________________________________
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: 
 >Snapshots mysteriously vanishing? (From: Marc Guenther <email@hidden>)
 >Bug in WO5.4.3? (was: Snapshots mysteriously vanishing?) (From: Marc Guenther <email@hidden>)
 >Re: Bug in WO5.4.3? (was: Snapshots mysteriously vanishing?) (From: Johann Werner <email@hidden>)

  • Prev by Date: Re: Snapshots mysteriously vanishing?
  • Next by Date: reverse engineer Oracle DB
  • Previous by thread: Re: Bug in WO5.4.3? (was: Snapshots mysteriously vanishing?)
  • Next by thread: Axis javax.xml.rpc.service.endpoint.address null
  • Index(es):
    • Date
    • Thread