deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DELTASPIKE-889) ValidatorWrapper causes filtering of multiple custom validators in ValidatorTagHandler
Date Sat, 02 May 2015 15:37:06 GMT

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

Gerhard Petracek edited comment on DELTASPIKE-889 at 5/2/15 3:36 PM:
---------------------------------------------------------------------

please add javassist as dependency to get proxied converters/validators (with v1.3.0).
however, please also test your application with the latest snapshot of v1.3.1/v1.4.0 (since
we move to asm and custom proxies).
we have arquillian-drone based tests which pass also on wildfly -> there shouldn't be an
issue.


was (Author: gpetracek):
please add javassist as dependency to get proxied converters/validators (with v1.3.0).
however, please also test your application with the latest snapshot of v1.3.1 (since we move
to asm and custom proxies).
we have arquillian-drone based tests which pass also on wildfly -> there shouldn't be an
issue.

> ValidatorWrapper causes filtering of multiple custom validators in ValidatorTagHandler
> --------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-889
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-889
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JSF-Module
>    Affects Versions: 1.3.0
>         Environment: JSF 2.2 / Wildfly 8.1 
>            Reporter: Thomas Fr├╝hbeck
>            Assignee: Thomas Andraschko
>             Fix For: 1.4.0
>
>
> InjectionAwareApplicationWrapper wraps custom validators.
> In ValidatorTagHandlerDelegateImpl the check for class equality causes a unique constraint
on validators, so effectively filtering all "wrapped" validators but the first:
>         for (Validator validator : validators) {
>             if (validator.getClass().equals(v.getClass())) {
>                 found = true;
>                 break;
>             }
>         }
>         
>         if (!found) {
>             evh.addValidator(v);
>         }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message