-
Bug
-
Resolution: Done
-
Major
-
7.2.0.GA
Having a bean class with @ApplicationScoped, which has a @PostConstruct and is implementing the following Interface:
@Path("/validated") public interface ValidatedJaxRsInterface { @GET @Valid @Produces(MediaType.APPLICATION_JSON) GreetingModel getHelloGreeting(); }
will result in calling the getHelloGreeting method of the implementation class twice before the @PostConstruct is getting executed.
This can be reproduced with the attached reproducer application...
- clones
-
WFLY-11956 @PostConstruct on @ApplicationScoped bean called too late in case @Valid is annotated on a business method
- Closed
- incorporates
-
RESTEASY-2227 Validate fields/properties after calling @PostConstruct annotated method, if one exists
- Resolved
- is incorporated by
-
JBEAP-16914 [GSS](7.2.z) Upgrade RESTEasy from 3.6.1.SP5 to 3.6.1.SP6
- Closed
- is related to
-
JBEAP-17580 [GSS](7.2.z) RESTEASY-2249 @PostConstruct on @ApplicationScoped bean called too late in case a non public @PostConstruct method is present
- Closed
- relates to
-
JBEAP-16939 [GSS](7.2.z) [EAP] Validation of @ApplicationScoped bean's business method performed before @PostConstruct callback
- Closed