• 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: awake() called twice on page refresh
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awake() called twice on page refresh


  • Subject: Re: awake() called twice on page refresh
  • From: Guido Neitzer <email@hidden>
  • Date: Thu, 30 Oct 2008 16:42:48 -0600

On 30.10.2008, at 14:41, Chuck Hill wrote:

we're observing some behaviour we can't seem to explain. We had a problem with
application deadlocking. It turned out that the lock was ERDPage (a ProjectWonder
component) which locks an editing context in awake() and unlocks it again in sleep().

That sounds odd to find this in Wonder. This is a known unsafe way to lock editing contexts. IIRC, this was one of the reasons that the ERXEC technology was created - safe locking with D2W. Is this some old component that never got updated?

No, it's actually on ERD2WPage (there is no ERDPage) - not sure why it is still in there as the editing contexts should lock automatically with ERXEC.


From what I can see, the manual locking code can be removed as long as the automatic locking / unlocking is used. But Anjo will know more about that.

cug
_______________________________________________
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: awake() called twice on page refresh
      • From: Mike Schrag <email@hidden>
References: 
 >awake() called twice on page refresh (From: Juergen Lorenz Simon <email@hidden>)
 >Re: awake() called twice on page refresh (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WOFileUpload and 5.4
  • Next by Date: Re: Charting question
  • Previous by thread: Re: [Wonder-disc] awake() called twice on page refresh
  • Next by thread: Re: awake() called twice on page refresh
  • Index(es):
    • Date
    • Thread