struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4202) CustomTextProvider not used for validation errors of model driven actions
Date Tue, 17 Sep 2013 08:56:54 GMT

     [ https://issues.apache.org/jira/browse/WW-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-4202:
------------------------------

    Fix Version/s: 2.3.17
    
> CustomTextProvider not used for validation errors of model driven actions
> -------------------------------------------------------------------------
>
>                 Key: WW-4202
>                 URL: https://issues.apache.org/jira/browse/WW-4202
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Annotations, XML Validators
>    Affects Versions: 2.3.15.1
>            Reporter: Christoph Nenning
>            Priority: Minor
>             Fix For: 2.3.17
>
>
> When an application registers it's own TextProvider via 'struts.xworkTextProvider' in
struts.xml, it is not used for validation errors of Model-Members of ModelDriven actions.
> Ɓukasz commented on the mailing list:
> > There is a bug in DelegatingValidatorContext#makeTextProvider method -
> > it should first try to use parent before creating new instance of
> > TextProvider (base on TextProviderFactory but without injecting
> > dependencies :\)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message