"Forward Overflow" error when hitting an action when
WEB-INF/.pageflow-struts-generated does not exist
------------------------------------------------------------------------------------------------------
Key: BEEHIVE-588
URL: http://issues.apache.org/jira/browse/BEEHIVE-588
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1
Reporter: Rich Feit
Assigned to: Rich Feit
Fix For: V1
Repro:
- Create a NetUI-enabled webapp that contains a Global.app file
(WEB-INF/src/global/Global.app).
- Register the Global.app module explicitly in web.xml, as an init param
for the action servlet:
<init-param>
<param-name>config/-global</param-name>
<param-value>/WEB-INF/jpf-struts-config--global.xml</param-value>
</init-param>
- Build the webapp.
- *Remove* WEB-INF/.pageflow-struts-generated. This is the same as
building the webapp but having a wrong weboutputdir argument to the
<build-pageflows> macro.
- Deploy the webapp (to Tomcat in this case).
- Hit http://localhost:8080/<your-webapp>/foo/bar.do
EXPECTED: the following error:
Missing Struts Module Configuration
There is no Struts module configuration registered for /foo/bar.do (module
path /foo).
ACTUAL: a "forward overflow" error:
PageFlow - Forward Overflow
More than 25 server forwards have been executed during the given request,
and the flow has been terminated to avoid an infinite loop. The URI of the most
recent forward was /-global/bar.do.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira