[
https://issues.apache.org/jira/browse/WW-5284?focusedWorklogId=846382&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-846382
]
ASF GitHub Bot logged work on WW-5284:
--------------------------------------
Author: ASF GitHub Bot
Created on: 20/Feb/23 02:32
Start Date: 20/Feb/23 02:32
Worklog Time Spent: 10m
Work Description: kusalk commented on code in PR #659:
URL: https://github.com/apache/struts/pull/659#discussion_r1111401411
##########
core/src/main/java/com/opensymphony/xwork2/validator/AnnotationActionValidatorManager.java:
##########
@@ -120,10 +66,20 @@ protected String buildValidatorKey(Class clazz, String
context) {
} else {
sb.append(context);
}
-
return sb.toString();
}
+ @Override
+ protected Validator getValidatorFromValidatorConfig(ValidatorConfig
config, ValueStack stack) {
+ Validator validator = validatorFactory.getValidator(
+ new ValidatorConfig.Builder(config)
+ .removeParam("methodName")
Review Comment:
Done :)
Issue Time Tracking
-------------------
Worklog Id: (was: 846382)
Time Spent: 1h 10m (was: 1h)
> Further clean up ActionValidatorManager implementations
> -------------------------------------------------------
>
> Key: WW-5284
> URL: https://issues.apache.org/jira/browse/WW-5284
> Project: Struts 2
> Issue Type: Task
> Components: Core Interceptors
> Reporter: Kusal Kithul-Godage
> Priority: Trivial
> Fix For: 6.2.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)