[Seaside] Possible Pharo1.0 problem. No error indication while parsing and no debugging triigered on error.

Hernán Morales Durand hernan.morales at gmail.com
Thu May 13 06:31:19 UTC 2010


2010/5/12 Fritz Schenk <intrader.intrader at gmail.com>:
> Running with Seaside 3.0 on Pharo 1.0
>
> Simple rendering method with error
> <witherror>
> renderContentOn: html
>        html heading: count.
>        html anchor
>                callback: [ self increase];
>                with: '++'  "<<<<< error here - missing period"
>        html space.
>        html anchor
>                callback: [self decrease];
>                with: '--'
> </witherror>
> The error is not indicated while 'accept'ing or prettyprinting.
>

That's because the parser takes the resulting object of sending

'++' html space

as parameter for the #with:

> Missing '.' after first with clause.
>
> when I access the page I get the error:
>
> <error>
> MessageNotUnderstood: ByteString>>html
> </error>
>
> the page continues in 'Loading...' state, but there is no debugger in the
> environment.
>

If you didn't modified default common settings in your application,
both with the DebugErrorHandler or the WalkbackErrorHandler you should
get a Debugger in your image.

Hernán

> Please help.
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list