struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4578) Validators do not work for multiple values
Date Wed, 19 Apr 2017 08:04:41 GMT

    [ https://issues.apache.org/jira/browse/WW-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974281#comment-15974281
] 

Hudson commented on WW-4578:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-JDK7-master #617 (See [https://builds.apache.org/job/Struts-JDK7-master/617/])
WW-4578 Makes RegexFieldValidator to support collections (lukaszlenart: rev caca3d057d56f43699c1ef5d37e7800eb7b0e5a5)
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/ValidatorSupport.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
* (edit) core/src/test/java/com/opensymphony/xwork2/validator/RegexFieldValidatorTest.java
WW-4578 Changes range validators to support collections (lukaszlenart: rev 158eda97834645a542e81d7414b67f8285042b8b)
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/RangeValidatorSupport.java
* (edit) core/src/test/java/com/opensymphony/xwork2/validator/validators/ValidationAction.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/FieldValidatorSupport.java
* (edit) core/src/test/java/com/opensymphony/xwork2/validator/validators/IntRangeFieldValidatorTest.java
WW-4578 Makes required validator to support collections (lukaszlenart: rev e66fd538b519b1a156d76e4bbe4e994a35e3c464)
* (edit) core/src/test/java/com/opensymphony/xwork2/validator/validators/ValidationAction.java
* (add) core/src/test/java/com/opensymphony/xwork2/validator/validators/RequiredFieldValidatorTest.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/RequiredFieldValidator.java
WW-4578 Converts double range validator to support collections (lukaszlenart: rev 01a56ca117532c63a89bec6464109e81d9273d62)
* (add) core/src/test/java/com/opensymphony/xwork2/validator/DoubleRangeFieldValidatorTest.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/DoubleRangeFieldValidator.java
* (delete) core/src/test/java/com/opensymphony/xwork2/validator/DoubleRangeValidatorTest.java
WW-4578 Converts required string validator to support collections (lukaszlenart: rev df5583f11789fe2f5084d7fec780f99fa8d22b23)
* (edit) core/src/test/java/com/opensymphony/xwork2/validator/validators/ValidationAction.java
* (edit) core/src/test/java/com/opensymphony/xwork2/validator/validators/RequiredStringValidatorTest.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/FieldValidatorSupport.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/RequiredStringValidator.java
WW-4578 Converts length string validator to support collections (lukaszlenart: rev 16e8f10f6664f4d5abbc64650a0b7a93cd49290b)
* (edit) core/src/test/java/com/opensymphony/xwork2/validator/StringLengthFieldValidatorTest.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java
WW-4578 Converts URL validator to support collections (lukaszlenart: rev 6f272e4873bdba03c1b3fe3ac8c0670b680d2c6c)
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java
* (edit) core/src/test/java/com/opensymphony/xwork2/validator/URLValidatorTest.java
WW-4578 Fixes small typo (lukaszlenart: rev 569e1f6c82dbb562f105279df68e3dd2cf0545bd)
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java
WW-4578 Cleans up code (lukaszlenart: rev 1ad6d2c31726864275458c02f9cbbe22936f7833)
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
* (edit) core/src/main/java/com/opensymphony/xwork2/validator/validators/RequiredStringValidator.java


> Validators do not work for multiple values
> ------------------------------------------
>
>                 Key: WW-4578
>                 URL: https://issues.apache.org/jira/browse/WW-4578
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Annotations
>    Affects Versions: 2.3.24
>            Reporter: Jose L Martinez-Avial
>            Assignee: Lukasz Lenart
>            Priority: Minor
>              Labels: regex, validation
>             Fix For: 2.5.next
>
>
> The RegexFieldValidator only validates if the parameter receives is an String. So validation
for multiple values (received as a String array) does not work. The same for other validators.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message