[Seaside] A recurring DNU
Avi Bryant
avi at beta4.com
Mon Aug 11 23:54:52 CEST 2003
On Mon, 11 Aug 2003, Nevin Pratt wrote:
> bookmarkForExpiry
> ^ Continuation
> currentDo: [:cc | expiryContinuation _ self
> wrapContinuation: [:v |
> self redirectWithMessage: 'That page has
> expired.' delay: 3.
> cc value: v]]
>
> In here, both the 'cc' and the 'v' temps are both nil, and this creates
> a 'MessageNotUnderstood: value:' because UndefinedObject does not
> understand #value:
For 'v' to be nil here is expected, and not a problem.
For 'cc' to be nil is very odd. I suspect it's due to an edge case not
being handled correctly by the Continuation code (which could
possibly have been broken between the last two releases to SM).
I'll add a test case for the edge case I have in mind and see if I can fix
it.
Avi
More information about the Seaside
mailing list