struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (WW-4346) Nested visitor validator returns wrong full field name
Date Fri, 27 Jun 2014 11:42:24 GMT


ASF subversion and git services commented on WW-4346:

Commit 3a07c317724c1f8017be93f0e1bae23392c08fc6 in struts's branch refs/heads/develop from
[;h=3a07c31 ]

WW-4346 Solves problem with nested visitor validator returns wrong full field name

Closes #13

> Nested visitor validator returns wrong full field name
> ------------------------------------------------------
>                 Key: WW-4346
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>            Reporter: Aleksandr Mashchenko
>              Labels: patch
>             Fix For: 2.3.18
>         Attachments: tests-visitor-full-field-name.diff, visitor-full-field-name.diff
> Original issue report:
> This bug can be reproduced by nesting two or more visitor validators with a conversion
validator in the last validation configuration.
> Conversion validator in nested visitor validators doesn't work as expected because getFullFieldName
method in VisitorFieldValidator.AppendingValidatorContext returns not a full field name.
> This patch makes sure that the correct full field name is returned.
> Also the InternalValidatorContextWrapper-s from AnnotationActionValidatorManager and
DefaultActionValidatorManager could be removed because they were introduced to fix similar
issue with nested visitor validators. See and for more details.

This message was sent by Atlassian JIRA

View raw message