You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Nathan Jantz (JIRA)" <be...@incubator.apache.org> on 2005/02/01 01:21:18 UTC

[jira] Created: (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.

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
    Priority: Minor


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


[jira] Assigned: (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.

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-219?page=history ]

Rich Feit reassigned BEEHIVE-219:
---------------------------------

    Assign To: carlin rogers

> 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: carlin rogers
>     Priority: Minor

>
> 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


[jira] Resolved: (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.

Posted by "carlin rogers (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-219?page=history ]
     
carlin rogers resolved BEEHIVE-219:
-----------------------------------

      Assign To: Alejandro Ramirez  (was: carlin rogers)
     Resolution: Fixed
    Fix Version: V1Beta

Rich's changes for svn commit r151671 included a fix for this issue.

> 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


[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.

Posted by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org>.
     [ 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