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

Re: [Wonder-disc] awake() called twice on page refresh


  • Subject: Re: [Wonder-disc] awake() called twice on page refresh
  • From: Anjo Krank <email@hidden>
  • Date: Fri, 31 Oct 2008 10:48:11 +0100


Am 30.10.2008 um 22:41 schrieb Ramsey Gurley:
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?

ERD2WPage is the root page component for all of Wonder's D2W pages. :-/

I can't find the original message to this thread, but: I posted a bug about this against D2W about 6 years ago and nothing has happened so far. Rather than holding my breath, I added the ERXEC unlocker which fixes this problem. The locking code is still in ERD2WPage because a) people might have older code that doesn't use ERXEC and b) might not be able or want to use auto-locking for whatever reason (I didn't in most of my projects until now).


So if you use either the unlocker or the auto-locking code, you should be fine.

And PLEASE: do not cross post! Wonder stuff belongs on the Wonder list and vanilla WO to the WO list. All you do is make us read the same messages multiple times, which comes from our time to make replies.

Cheers, Anjo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Wonder-disc mailing list
email@hidden
https://lists.sourceforge.net/lists/listinfo/wonder-disc

_______________________________________________ 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: [Wonder-disc] awake() called twice on page refresh
      • From: Juergen Lorenz Simon <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>)
 >Re: awake() called twice on page refresh (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: EOF and the Observer Pattern
  • Next by Date: Re: [Wonder-disc] awake() called twice on page refresh
  • Previous by thread: Re: awake() called twice on page refresh
  • Next by thread: Re: [Wonder-disc] awake() called twice on page refresh
  • Index(es):
    • Date
    • Thread