Ah ok, done. Thanks.
In testing this, I just noticed that when I come back to a session that is
old and expired and do login I get a DNU on nil again. This time it looks
like PULogin is calling anscestor and there is nothing there.
From: Lukas Renggli <renggli(a)iam.unibe.ch>
Reply-To: "Magritte, Pier and Related Tools ..." <smallwiki(a)iam.unibe.ch>
To: "Magritte, Pier and Related Tools ..." <smallwiki(a)iam.unibe.ch>
Subject: Re: Another bug :) (was Re: Status of Pier)
Date: Mon, 5 Feb 2007 07:22:53 +0100
I use a login and no persistency at the moment,
so when I tried to
log in I got a DNU on #critical. PULogin tries to call #execute:
in the perstistancy which calls #critical on it's mutex, but since
PRNullPersistancy doesn't have a mutex (it is nil), I get a DNU. I
just did an override in PRNullPersistancy for #execute: to simply
call #apply: to get it working for me.
I guess you have to re-initialize the persistency in the kernel. I
just recently moved the session mutex from the kernel to the place
where it really belongs, the persistency.
PRKernel instances do: [ :each |
each persistency: PRNullPersistency new ]
After that everything should work without modifying PRNullPersistency.
The Semaphore is important in PRNullPersistency, as this ensures that
the model does not get corrupted by concurrent modifications.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_________________________________________________________________
Invite your Hotmail contacts to join your friends list with Windows Live
Spaces