[Seaside] [VW] Using exception catching confuses Seaside?
Martin J. Laubach
mjl at laubach.at
Sat Aug 19 16:10:49 UTC 2006
In order to have a clean and tidy applications, I tried the
following in my WATask subclass:
MyTask>>go
[ "do application stuff" ]
ensure: [ "close database connections" ]
or
MyTask>>go
[ "do application stuff" ]
on: Exception do: [ :ex | "whatever" ]
Both confused the hell out of Seaside. The second one just kept
looping with the exception block catching a WACurrentSession. The
first one looped too but redirected the browser to itself.
So I guess, #ensure/Exceptions and Seaside don't go together?
Regards,
mjl
More information about the Seaside
mailing list