[aida] Bug in WebGridColumn?

Janko Mivšek janko.mivsek at eranova.si
Mon Aug 8 20:30:38 CEST 2011

Ahoj Martin,

S, Martin Polák piše:

> like me or not, but i found something bad happen in newest beta1.9 :). If you try to login as admin and click on Profile, than on Sessions, debugger is open in Pharo. So I looked around and found problem with WebGridColumn, so I update the method autoConvert:
> WebGridColumn>>autoConvert: anObject
> 	(anObject class == Date and: [self parent hasShortDates]) 
> 		ifTrue: [^anObject shorterPrintSloString].
> 	(anObject class == SpDate) "Sport portable date"
> 		ifTrue: [^anObject shorterPrintSloString].
> 	(anObject class == SpTimestamp) "Sport portable timestamp"
> 		ifTrue: [^anObject printString].
> 	(anObject = 0 and: [self parent hasNoZeros]) ifTrue: [^''].
> 	^WebFormElement autoConvertToString: anObject
> after this update, Sessions seems to operate normally.

Your patch integrated. Funny i s that on VW this works, where is the
difference with Pharo .. Well, it doesn't matter for now, let we jsut
have in mind for the future.

Thanks again!

Janko Mivšek
Smalltalk Web Application Server

More information about the Aida mailing list