[Seaside] missing method (Grease - Seaside?) - invalidUtf8
johan at inceptive.be
Mon Jan 18 07:31:08 UTC 2016
The missing method is indeed a mistake in the GRPharoUtf8Codec. I added it and published Grease 1.2.6 with the bugfix.
However, you will now get the ‘Invalid utf8’ error instead, which is not solving your problem.
The issue is that the decoder is trying to decode an invalid utf8 bytesequence. You need to check where that is coming from.
Set the WADebugErrorHandler as the exception handler for your application to debug which one it is.
> On 17 Jan 2016, at 19:03, Robert Kuszinger <kuszinger at giscom.hu> wrote:
> I have a form, having a submint button titled 'Belépés' which is a byteString in the source code. From debug I know that it has problem with the 'é'
> WAComancheAdaptor is used, set to UTF-8
> Form has two text fields, one text, one password.
> The error is here:
> Internal Server Error
> MessageNotUnderstood: GRPharoUtf8Codec>>invalidUtf8
> KomHttpServer/7.1.3 (unix) Server at 'localhost' Port 8080
> Actually there is really no invalidUtf8 method...
> Same in Chrome and Firefox.
> Generated source from the browser:
> <!DOCTYPE html><html><head><title>Seaside</title><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
> <form accept-charset="utf-8" method="post" action="/upload?_s=DmRzKcsi0N3do5uR&_k=f4Uk-txWdDmSbrqa">
> <table><tr><td><strong>E-mail:</strong></td><td><input name="1" value="" type="text" class="text"/></td></tr>
> <tr><td><strong>Jelszó:</strong></td><td><input name="2" value="" type="password" class="password"/></td></tr>
> <tr><td><strong> </strong></td><td><input name="3" value="Belépés" type="submit" class="submit"/></td></tr>
> What else to check? I don't understand what the problem is.
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside