[Bese-devel] Bug with backtracking for simple-dispatchers.
Attila Lendvai
attila.lendvai at gmail.com
Mon Aug 28 11:49:37 UTC 2006
> > 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.
>
>
> Yes, that is exactly what happens (an error-component is made). So what
> would be the right way to deal with this? Make handle-request-error check
> whether there is a valid frame, and just output the error message directly
> in that case?
i think
(and *context* (context.session *context*))
should be
(and *context*
(context.session *context*)
(context.current-frame *context*))
in handle-request-error ((error error) backtrace)
seems like the rest of the code deals with the situation when ucw
infrastructure is not available.
--
- 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