You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Thibault Kruse (JIRA)" <ji...@apache.org> on 2014/07/30 11:38:39 UTC

[jira] [Closed] (FELIX-4592) PropertyResolver does not scan for NotNull in annotation tree

     [ https://issues.apache.org/jira/browse/FELIX-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thibault Kruse closed FELIX-4592.
---------------------------------

    Resolution: Invalid

Reopened as https://issues.apache.org/jira/browse/WICKET-5656

> PropertyResolver does not scan for NotNull in annotation tree
> -------------------------------------------------------------
>
>                 Key: FELIX-4592
>                 URL: https://issues.apache.org/jira/browse/FELIX-4592
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Thibault Kruse
>
> When annotating a field of a bean with e.g. org.hibernate.validator.constraints.NotEmpty, this implies
> javax.validation.constraints.NotNull, but PropertyValidator only checks for the annotations immediately on the filed not the tree of annotations. As a result Wicket does not mark the field as required in the UI, which it should.
> Also PropertyResolver.findNotNullConstraints() is not even protected, so cannot be patched in a simple way.



--
This message was sent by Atlassian JIRA
(v6.2#6252)