[
https://issues.apache.org/jira/browse/WW-2934?focusedWorklogId=1031932&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1031932
]
ASF GitHub Bot logged work on WW-2934:
--------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jul/26 19:53
Start Date: 23/Jul/26 19:53
Worklog Time Spent: 10m
Work Description: sonarqubecloud[bot] commented on PR #1810:
URL: https://github.com/apache/struts/pull/1810#issuecomment-5062710677
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1810)
**Quality Gate passed**
Issues
 [0 New
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1810&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1810&issueStatuses=ACCEPTED)
Measures
 [0 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=1810&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [100.0% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1810&metric=new_coverage&view=list)
 [0.0% Duplication on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1810&metric=new_duplicated_lines_density&view=list)
<!
Issue Time Tracking
-------------------
Worklog Id: (was: 1031932)
Time Spent: 20m (was: 10m)
> conversion error should short-circuit all validators
> -----------------------------------------------------
>
> Key: WW-2934
> URL: https://issues.apache.org/jira/browse/WW-2934
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Interceptors
> Affects Versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7,
> 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.11.1, 2.0.11.2, 2.0.12, 2.0.13, 2.0.14,
> 2.1.0, 2.1.1, 2.1.2
> Reporter: Noel Hernández
> Assignee: Lukasz Lenart
> Priority: Major
> Fix For: 7.3.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> If there is an error converting a field, the validators for that field should
> be skipped. For example, let's say I have an action with an "age" field
> declared as an Integer, and the field is required. If the user enters "one",
> the user will see two errors: one from the conversion process, and one from
> the required validator (since the field was never assigned).
> In general, a conversion error should short-circuit all validators for that
> field, since validators depend on the field being set, which never happens if
> there was a conversion error.
> Validators are essential for real world projects, this is a big issue with
> struts2.
> look at stripes framework for a good designed validator framework.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)