[JBoss JIRA] (ELY-1789) Add a global property for the Maven XML plugin in the tests module
by Darran Lofthouse (Jira)
[ https://issues.jboss.org/browse/ELY-1789?page=com.atlassian.jira.plugin.s... ]
Darran Lofthouse updated ELY-1789:
----------------------------------
Fix Version/s: 2.0.0.Alpha4
> Add a global property for the Maven XML plugin in the tests module
> ------------------------------------------------------------------
>
> Key: ELY-1789
> URL: https://issues.jboss.org/browse/ELY-1789
> Project: WildFly Elytron
> Issue Type: Task
> Components: Build
> Reporter: Justin Cook
> Assignee: Justin Cook
> Priority: Major
> Fix For: 1.9.0.CR4, 2.0.0.Alpha4
>
>
> Currently the codehaus xml-maven-plugin property only gets defined in the tests module if the build JDK is at least JDK 9, resulting in a cryptic error message if building with a version less than JDK 9. This task is to add a global property for the plugin for the minimum JDK enforcer error message shows instead of a missing plugin version message.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (ELY-1786) JBoss Logging Component Upgrades
by Darran Lofthouse (Jira)
[ https://issues.jboss.org/browse/ELY-1786?page=com.atlassian.jira.plugin.s... ]
Darran Lofthouse updated ELY-1786:
----------------------------------
Fix Version/s: 2.0.0.Alpha4
> JBoss Logging Component Upgrades
> --------------------------------
>
> Key: ELY-1786
> URL: https://issues.jboss.org/browse/ELY-1786
> Project: WildFly Elytron
> Issue Type: Component Upgrade
> Components: Build
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Priority: Major
> Fix For: 1.9.0.CR4, 2.0.0.Alpha4
>
>
> * org.jboss.logging:jboss-logging:3.4.0.Final
> * org.jboss.logging:jboss-logging-annotations:2.2.0.Final
> * org.jboss.logging:jboss-logging-processor:2.2.0.Final
> * org.jboss.logmanager:jboss-logmanager:2.1.10.Final
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (WFLY-11956) @PostConstruct on @ApplicationScoped bean called too late in case @Valid is annotated on a business method
by Ronald Sigal (Jira)
[ https://issues.jboss.org/browse/WFLY-11956?page=com.atlassian.jira.plugin... ]
Ronald Sigal commented on WFLY-11956:
-------------------------------------
Hi [~gunnar.morling], thanks for checking in. I agree that everything suggests that getHelloGreeting() *should* be executed during validation of properties (well, once, anyway). I.e., I agree that for the most part, we're not talking about a bug. Indeed, my two configuration suggestions should be considered feature requests.
As far as I can see, there is no easy solution that we can offer, which sends us back to the possibility of renaming the get methods. It reminds me of a joke my father used to tell. A guy goes to the doctor and says, "Doc, it hurts when I raise my arm." The doctor says, "So don't raise your arm."
Sorry, [~christian.zambrano], I don't mean to make light of the problem.
Two things that can, and should be done are:
1. RESTEasy should look for a @PostConstruct method and, in its presence, initiate validation from JaxrsInjectionTarget.postConstruct().
2. The two calls to getHelloGreeting() should be investigated in Hibernate Validator.
Does anyone else have any suggestions?
> @PostConstruct on @ApplicationScoped bean called too late in case @Valid is annotated on a business method
> ----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11956
> URL: https://issues.jboss.org/browse/WFLY-11956
> Project: WildFly
> Issue Type: Bug
> Components: Bean Validation, REST
> Affects Versions: 16.0.0.Final
> Reporter: Joerg Baesner
> Assignee: Ronald Sigal
> Priority: Major
> Attachments: logging.txt, playground.zip
>
>
> Having a bean class with {{@ApplicationScoped}}, which has a {{@PostConstruct}} and is implementing the following _Interface_:
> {code}
> @Path("/validated")
> public interface ValidatedJaxRsInterface {
>
> @GET
> @Valid
> @Produces(MediaType.APPLICATION_JSON)
> GreetingModel getHelloGreeting();
> }
> {code}
> 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...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months