[Seaside] Seaside Testing Framework with Seaside 2.7

David Shaffer cdshaffer at acm.org
Tue Nov 7 19:03:45 UTC 2006


Berger Stefan wrote:
> Hi all,
>
> I tried to test a seaside application with Seaside2.7a1-mb.115 and
> SeasideTesting-R1.4-cds.1
>
> The WACounterTest and all other applications failed, because the Session
> could not get initialized.
>
> I figured that in SCBrowserSimulator>>httpGetRequestStreamFor:url a
> readStream was given. But later on in the HttpRequest>>initRemoteAddress
> will try to access a socket from the stream. Unfortunately the
> readStream doesn't support a socket.
>
> Does anyone know the problem and does anyone have a conclusion to solve
> it? I tried to change the readStream to a socketStream but more problems
> awake after that ;)
>
> Thanks for your help!
> Stefan
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>   
Attached is a Kom patch.  I was hoping to get this fixed in the Kom base 
but it looks like I will include it as an override in the next release 
of SeasideTesting.

David

-------------- next part --------------
'From Squeak3.9gamma of ''23 July 2006'' [latest update: #7060] on 26 September 2006 at 7:59:37 am'!

!HttpRequest methodsFor: 'initialize-release' stamp: 'cds 9/23/2006 00:59'!
initRemoteAddress
	(stream respondsTo: #socket)
		ifTrue: [self remoteAddress: stream socket remoteAddress]! !



More information about the Seaside mailing list