Rejected
Details
Assignee
UnassignedUnassignedReporter
Ingo BrüllIngo BrüllBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Andrei SereaGunnar MorlingIngo BrüllKevin PolletComponents
Affects versions
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Ingo Brüll
Ingo BrüllBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Andrei Serea
Gunnar Morling
Ingo Brüll
Kevin Pollet
Components
Affects versions
Priority
Created March 21, 2011 at 3:24 PM
Updated October 25, 2012 at 11:15 AM
Resolved March 23, 2011 at 12:38 PM
Using the MethodValidator with proxied objects via an interceptor in an ejb environment throws the following exception:
javax.validation.ConstraintDeclarationException: Only the root method of an overridden method in an inheritance hierarchy may be annotated with parameter constraints. The following method itself has no parameter constraints but it is not defined on a sub-type of class de.enexoma.smartmeter.server.facade.config.ResourceBundleFacadeBean: MethodMetaData [method=public abstract java.util.Map de.enexoma.smartmeter.server.facade.ResourceBundleFacade.get(java.lang.String) throws de.enexoma.smartmeter.server.error.EnexomaException, parameterMetaData=[ParameterMetaData [type=class java.lang.String], [index=0], name=arg0], constraints=[], isCascading=false]], constraints=[], isCascading=false, hasParameterConstraints=false]
The method in the "real" class has constraints defined:
public Map<Locale,List<ResourceBundle>> get(@NotNull @Size(min=1)final String appName)