[Seaside-dev] it wont halt

Julian Fitzell jfitzell at gmail.com
Mon Apr 6 20:52:14 UTC 2009


Is it not just that #handleFiltered: isn´t returning? Off the top of my head
it seems to me that is the case when a response is returned since it is
returned with an exception (but I´m at a bar in Portugal at the moment so
don't have the code handy). Do you hit the halt in an #ensure: block?

Julian

On Mon, Mar 30, 2009 at 6:20 PM, Sebastian Sastre <ssastre at seaswork.com>wrote:

> I totally aggree. We better stop rationalizing this: halts in production
> are
> bugs.
>
>
> > -----Mensaje original-----
> > De: seaside-dev-bounces at lists.squeakfoundation.org
> > [mailto:seaside-dev-bounces at lists.squeakfoundation.org] En
> > nombre de Lukas Renggli
> > Enviado el: Monday, March 30, 2009 14:04
> > Para: Seaside - developer list
> > Asunto: Re: [Seaside-dev] it wont halt
>  >
> > > handleFiltered: aRequestContext
> > >
> > >        (super handleFiltered: aRequestContext)
> > ifNotNilDo:[:response|
> > >                self halt.
> > >                ^ response].
> > >
> > > can someone clarify why this won't halt? (s2.9a3 with flow)
> >
> > In the current code base the error handling is highly customizable, so
> > maybe you want to check what error handler you are using?
> >
> > We had lengthy arguments on how Seaside should handle sends to #halt
> > (http://code.google.com/p/seaside/issues/detail?id=227 and others). I
> > still think that Seaside should never ever swallow a #halt, not even
> > in productive code.
> >
> > Lukas
> >
> > --
> > Lukas Renggli
> > http://www.lukas-renggli.ch
> > _______________________________________________
> > seaside-dev mailing list
> > seaside-dev at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20090406/31cf92f8/attachment.htm


More information about the seaside-dev mailing list