I've added an test scenario and anteater testcase to show this bug. See http://localhost:8888/test/sendpage/explain-test.html
-- Unico
Unico Hommes wrote on 17-3-2004 17:14:
Oops, it's something else. It is related to cocoon.sendPage(). It doesn't consider internal-only pipelines:
sitemap.xmap: <map:pipeline internal-only="true"> <map:match pattern="internal"> ... </map:match> </map:pipeline>
<map:pipeline> <map:match pattern="**"> <map:call function="sendInternal"/> </map:match> </map:pipeline>
flow.js: function sendInternal() { cocoon.sendPage("internal",null); }
Requesting anything will cause an infinite loop.
Setting internal-only="false" on the first pipeline fixes it again.
-- Unico
Unico Hommes wrote on 17-3-2004 16:57:
It seems that cocoon.redirectTo FOM function is now doing an internal redirect instead of causing a browser redirect. Calling cocoon.redirectTo("somewhere") shows the following message in the sitemap log: INFO (2004-03-17) 16:44.43:471 [sitemap] (/samples/slide/content/) PoolThread-4/ForwardRedirector: Redirecting to 'cocoon:/somewhere/'.
My first guess was that the following patch was the reason: http://issues.apache.org/bugzilla/show_bug.cgi?id=26854 . But the problem seems to persist when I undo that change. Anybody know what has caused this or how to fix it?
-- Unico
