Details
-
Enhancement
-
Resolution: Done
-
Major
-
4.0.0.Beta7, 3.6.3.SP1
-
None
-
None
Description
The intention of the validation algorithm described in Section 7.6
"Validation and Error Reporting" is that fields/properties should be validated after any injections. Given that further initialization could take place in a @PostConstruct annotated method, it would be appropriate for org.jboss.resteasy.cdi.JaxrsInjectionTarget to initiate validation from postConstruct() rather than inject() when a @PostConstruct annotated method exists.
Attachments
Issue Links
- is incorporated by
-
JBEAP-16688 [GSS](7.2.z) @PostConstruct on @ApplicationScoped bean called too late in case @Valid is annotated on a business method
-
- Verified
-
- is related to
-
RESTEASY-2249 Detect private and protected @PostConstruct methods
-
- Resolved
-
-
RESTEASY-2503 After first invocation on an EJB, class/field/property constraints don't get checked
-
- Resolved
-
- relates to
-
RESTEASY-2264 Validation and @PostConstruct, Part II
-
- Open
-