[Bese-devel] Bug with backtracking for simple-dispatchers.
Attila Lendvai
attila.lendvai at gmail.com
Mon Aug 28 11:00:44 UTC 2006
> When adding a dispatcher like this to an application...
>
> (simple-dispatcher "foo.ucw"
> (error "FOO"))
>
> ... going to the relevant url will cause UCW to blow up with an error about
>
> There is no applicable method for the generic function
>
> #<STANDARD-GENERIC-FUNCTION IT.BESE.UCW:BACKTRACK-SLOT (1)>
> when called with arguments
>
> (NIL [snip])
>
> ... even when debug-on-error is nil for that application.
i've tried it in _ajax, it only logs an error when debug-on-error is
nil and returns an empty page.
the thing is that you may not use ucw components in all situations.
after a quick look you may use them when coming through one of these:
- tal-dispatcher
- action-dispatcher
- entry-point-dispatcher
probably the error handling code does not take this into account and
tries to create a component that would render the error or a message.
hth,
--
- attila
"- The truth is that I've been too considerate, and so became
unintentionally cruel...
- I understand.
- No, you don't understand! We don't speak the same language!"
(Ingmar Bergman - Smultronstället)
More information about the bese-devel
mailing list