Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4202

CustomTextProvider not used for validation errors of model driven actions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.15.1
    • 2.3.20
    • Annotations, XML Validators
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              cn42 Christoph Nenning
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: