[
https://issues.apache.org/jira/browse/WW-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maurizio Cucchiara closed WW-3685.
----------------------------------
Resolution: Duplicate
Assignee: Maurizio Cucchiara
Already fixed in trunk
> ChainingInterceptor not copying fieldErrors
> -------------------------------------------
>
> Key: WW-3685
> URL: https://issues.apache.org/jira/browse/WW-3685
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors
> Affects Versions: 2.2.3
> Environment: All
> Reporter: Sriram Sankararaman
> Assignee: Maurizio Cucchiara
>
> Inside the com.opensymphony.xwork.interceptor.ChainingInterceptor,
> fieldErrors is not assigned to right variable resulting in always false. The
> end action is not getting the field errors all the time. this should be
> fixed. As workaround, i have created an interceptor that copies the
> fieldError specifically since its missed by ChainingInterceptor.
> @Inject(value = "struts.xwork.chaining.copyFieldErrors", required = false)
> public void setCopyFieldErrors(String copyFieldErrors) {
> this.copyErrors = "true".equalsIgnoreCase(copyFieldErrors);
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira