[ http://issues.apache.org/jira/browse/BEEHIVE-452?page=history ]

Julie Zhuo updated BEEHIVE-452:
-------------------------------

    Description: 
Description: When there is a strutsMerge configured by relative path in a 
parent pageflow, it does not cause a compiler error when the struts file is not 
available in the extending page flow directory. It will throw a null pointer 
exception at run time. This issue presents as of rev157888

Repro: Unzip the attached page flow to the root directory of a webapp template 
which can be abtained from beehive distribution under samples - netui-blank. 
Build the webapp with the build.xml provided under WEB-INF/src.

Actual Result: Build Successful

Expected Result: A compiler error that indicate the struts4merge.xml could not 
be located under testInheritance\inherit\actionAttr

Will attach the page flows for repro shortly.

  was:
When there is a strutsMerge configured by relative path in a parent pageflow, 
it does not cause a compiler error when the struts file is not available in the 
extending page flow directory. It will throw a null pointer exception at run 
time. 

This issue presents as of rev157888

Will attach the page flows for repro shortly.


> No compiler error when strutsMerge file is missing in the extending page flow
> -----------------------------------------------------------------------------
>
>          Key: BEEHIVE-452
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-452
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Rich Feit
>  Attachments: jira452repro.ZIP
>
> Description: When there is a strutsMerge configured by relative path in a 
> parent pageflow, it does not cause a compiler error when the struts file is 
> not available in the extending page flow directory. It will throw a null 
> pointer exception at run time. This issue presents as of rev157888
> Repro: Unzip the attached page flow to the root directory of a webapp 
> template which can be abtained from beehive distribution under samples - 
> netui-blank. Build the webapp with the build.xml provided under WEB-INF/src.
> Actual Result: Build Successful
> Expected Result: A compiler error that indicate the struts4merge.xml could 
> not be located under testInheritance\inherit\actionAttr
> Will attach the page flows for repro shortly.

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

Reply via email to