You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org> on 2005/02/07 19:31:12 UTC

[jira] Closed: (BEEHIVE-219) Config path to a Tiles Definition file in the generated struts-config file contains back slashes and forward slashes in the same path.

     [ http://issues.apache.org/jira/browse/BEEHIVE-219?page=history ]
     
Alejandro Ramirez closed BEEHIVE-219:
-------------------------------------


Nathan Jantz retested this issue with the latest svn build and verified that it is indeed fixed.

> Config path to a Tiles Definition file in the generated struts-config file contains back slashes and forward slashes in the same path.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-219
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-219
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>  Environment: Running the usual components required by Beehive V1Beta on a Win32 box. Local test environment.
>     Reporter: Nathan Jantz
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: V1Beta

>
> Config path to a Tiles Definition file in the generated struts-config file contains back slashes and forward slashes in the same path when compiled on a Win32 machine.  This could potentially cause a runtime error if this webapp was .WAR'ed up on a Win32 box and placed on a Linux box to run.
> Here is an example:
> ParentPageFlow.jpf:
> @Jpf.Controller(
>     tilesDefinitionsConfigs = { "tiles-defs.xml" },
>     simpleActions={
>         @Jpf.SimpleAction(name="begin", tilesDefinition="default.page")
>     }
> )
> ChildPageFlow.jpf (extends ParentPageFlow):
> ChildFlow1Controller.jpf:
> @Jpf.Controller(
>     simpleActions={
>         @Jpf.SimpleAction(name="begin", tilesDefinition="default.page")
>     }
> )
> Generated struts-config output:
> <plug-in className="org.apache.struts.tiles.TilesPlugin">
>     <set-property property="definitions-config" value="\childFlow1/tiles-defs.xml"/>
>     <set-property property="moduleAware" value="true"/>
> </plug-in>
> Notice that value="\childFlow1/tiles-defs.xml" could potentially break during runtime in a Unix environment.  Expected result would be: value="/childFlow1/tiles-defs.xml".

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira