[Seaside-dev] GRPharoUtf8CodecStream does not understand object:

Sabine Knöfel sabine.knoefel at gmail.com
Fri Jan 24 11:02:48 UTC 2014


Hi,

I think there is a bug in Seaside.
I run into this when using JQGrid.

Code in Pharo3:

Dictionary>>jsonOn: aRenderer
	aRenderer object: [
		self keysAndValuesDo: [ :key :value |
			aRenderer key: key value: value ] ]
	
aRenderer is iOf GRPharoUtf8CodecStream
GRPharoUtf8CodecStream does not understand object:

You can reproduce it also when running JQGrid example.
Have a look in the Network response in the internet browser where you will
see a 500 internal server error with "MessageNotUnderstood:
GRPharoUtf8CodecStream>>object:
Your request could not be completed. An exception occurred."

or implement 

GRPharoUtf8CodecStream>>object: anObject
self halt.

In Pharo2, it was implemented like this:
Dictionary>>jsonOn: aStream
	JSJsonStream encodeDictionary: self on: aStream



Sabine



--
View this message in context: http://forum.world.st/GRPharoUtf8CodecStream-does-not-understand-object-tp4738990.html
Sent from the Seaside Development mailing list archive at Nabble.com.


More information about the seaside-dev mailing list