You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/03/28 07:36:20 UTC

[jira] [Commented] (WW-4202) CustomTextProvider not used for validation errors of model driven actions

    [ https://issues.apache.org/jira/browse/WW-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950441#comment-13950441 ] 

Lukasz Lenart commented on WW-4202:
-----------------------------------

Ok, I have working solution but this can be a breaking change :\

> 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 was sent by Atlassian JIRA
(v6.2#6252)