Struts 2
  1. Struts 2
  2. WW-4202

CustomTextProvider not used for validation errors of model driven actions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.15.1
    • Fix Version/s: 2.3.20
    • Component/s: Annotations, XML Validators
    • Labels:
      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 :)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Lukasz Lenart
            Reporter:
            Christoph Nenning
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development