cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: [CVS] Flow bug in redirections? Test case inside.
Date Sun, 06 Jun 2004 11:09:21 GMT
Unico Hommes wrote
> 
> There are currently two related anteater test cases that don't pass:
> 
> The first one shows that calling a flow function that does 
> not cause any redirection is not an error, which it should IIRC.
> 
> redirect.xml:57: Starting
> http://localhost:8888///samples/test/redirect/donothing-from-flow
> redirect.xml:59: Running test [ResponseCode: 404]
> Failure: expected response code '404', got 'HTTP/1.1 200 OK'
> 
> The second one is that doing a map:redirect-to in a pipeline 
> that is called from flow with sendPage does not work.
> 
> bug26571SendPageRedirectTo.xml:33: Starting 
> http://localhost:8888///samples/test/sendpage-redirect/test-bad
> bug26571SendPageRedirectTo.xml:35: Running test [ResponseCode: 302]
> Failure: expected response code '302', got 'HTTP/1.1 200 OK'
> 
I just run them with 2.1.5 and both fail there as well :( At least
the new code is not worse than the one from 2.1.x :)
Anyways, yes, we should try to fix this. Thanks!

Carsten


Mime
View raw message