Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.14
-
None
Description
Currently, as the worker for an annotation is activated for a particular field, the field is "claimed" by the annotation.
When searching for fields with a given annotation, previously claimed fields are ignored.
Thus if you use conflicting annotations, such as @Persist and @Parameter, you get no error and it's a guess as to which takes effect.
Instead, we should see a failure when the second annotation work tries to re-claim the field. The exception should identify how the field was claimed, for example, by identifying the annotation (or at least, annotation type) for which the field was claimed.