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