• 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
Another rowDiffsForAttributes!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another rowDiffsForAttributes!


  • Subject: Another rowDiffsForAttributes!
  • From: Jacky Gagnon <email@hidden>
  • Date: Tue, 13 Mar 2007 12:56:18 -0400

Hi,

I have this very cool exception who will drive me crazy :

"java.lang.IllegalStateException: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation {_dbSnapshot = {}; ..."


The problem happen when I try to edit an object with an assistant :

- In a direct action I create a session, fetch the object into the default editing context and I transfert it to a nested editing context with «localInstanceOfObject» and I go to the first page of my assistant where the user can edit the object. (I use the MultiECLockManager to lock my nestedEC).

-In the end, I save my nestedEC and the defaultEC, and I get the java.lang.IllegalStateException... !


I did a unit test to simulate the edition of the object made by the assistant, and all run fine.


The problem seem to happen when I go to the next component (direct action to a regular component?).

My question is, what the best way to diagnose this problem?


Thanks!

Note : I didn't have exception about an object trying to access an unlocked EC and "EOObjectsChangedInStoreNotification" is only call when I try to save my changes.





_______________________________________________
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: Another rowDiffsForAttributes!
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Problems with text encoding
  • Next by Date: Re: Generic conditional WOHyperlink
  • Previous by thread: Anyone knows useful frameset component
  • Next by thread: Re: Another rowDiffsForAttributes!
  • Index(es):
    • Date
    • Thread