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

OVal plugin should add message variables

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.8.1
    • 2.3.3
    • None
    • struts-oval-plugin 2.1.8.1

    Description

      In the method protected void addValidationErrors(ConstraintViolation[] violations, Object action, ValueStack valueStack, String parentFieldname) of org.apache.struts2.oval.interceptor.OValValidationInterceptor the violation.getMessageVariables() should be pushed into the valueStack in order to get access in the resource bundle to important validation context variables like min length, max lenght, substring, expression, etc.

      thank you

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lukaszlenart Lukasz Lenart
            nickmancol Nicolas Bohorquez Gutierrez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment