[Seaside] Hiesenbug with "unicode spew"

tty gettimothy at zoho.com
Tue Feb 18 21:18:04 UTC 2020


Hi All,

I discovered that the "unicode spew" was not what I thought it was.
When the "spew" happens it is because the html output is dumped within the
body tag like this: 

<html>
<head></head>
<body><�!DOCTYPE
html><�html><�head><�title>Seaside<�/title><�meta
charset="utf-8"/><�link rel="stylesheet" type="text/css"
href="/files/WADevelopmentFiles/development.css"/><�/head><�body
onload="onLoad()"><�a
href="/waDebug?_s=ccLzvr_77iZO7bVN&amp;_k=KdqQxjU4LkFiBg30&amp;1">standard
dash<�/a>&nbsp;<�a h
</body>
</html>

Its wierd and its a heisenbug. 

I created a copy of WACounter , named it WADebug and the callbacks "dash"
and "mdash" totally isolate the Character. 

http://menmachinesmaterials.com/waDebug

*renderContentOn: html

	html anchor
		callback: [ self dash ];
		with: 'standard dash'.
	html space.
	html anchor
		callback: [ self ndash ];
		with: 'n-dash'.
	html break.		
	html html: count.	

dash
	count := '-'

ndash
	count := (Character value:8211) asString

*

What is really weird is that it works on the server when it did not work on
my workstation.
For some reason, it just started working on my Workstation.
I made a small edit to my Workstation, unrelated to that issue,  and it
stopped working.

I am running Seaside on 
Squeak5.2
latest update: #18233


Anybody have a clue why it would mangle the output like that?

I will be trying a Pharo install possibly tomorrow to see if that negates
the bug.

cheers.

t






--
Sent from: http://forum.world.st/Seaside-General-f86180.html


More information about the seaside mailing list