[JBoss JIRA] (DROOLS-3591) [DMN Designer] Data Types - Type dropdown is not navigable by keyboard
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-3591?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-3591:
--------------------------------
Attachment: project-dialogs.webm
> [DMN Designer] Data Types - Type dropdown is not navigable by keyboard
> ----------------------------------------------------------------------
>
> Key: DROOLS-3591
> URL: https://issues.jboss.org/browse/DROOLS-3591
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.18.0.Final
> Reporter: Guilherme Gomes
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
> Attachments: 2019-01-31 15.02.26.gif, project-dialogs.webm
>
>
> The following navigation between types must work in all supported browsers:
> !2019-01-31 15.02.26.gif|thumbnail!
> [~tirelli] reported that in some scenarios this navigation doesn't work.
> ---
> *Steps to reproduce:*
> - Add new DT
> - Insert the name
> - Dropdown component navigation doesn't work *(expected: dropdown navigation should work)*
> - Dropdown component element unselects the DT *(expected: the DT row should stay selected)*
> - Dropdown component focus on input element when the new type selected *(expected: dropdown should stay focused)*
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (WFLY-11956) @PostConstruct on @ApplicationScoped bean called too late in case @Valid is annotated on a business method
by Christian Zambrano (Jira)
[ https://issues.jboss.org/browse/WFLY-11956?page=com.atlassian.jira.plugin... ]
Christian Zambrano edited comment on WFLY-11956 at 4/23/19 9:39 AM:
--------------------------------------------------------------------
> 1. As Christian has verified, it seems that getHelloGreeting() is getting called because A) it is a getter, and B) @Valid says that the returned GreetingModel should be validated, which means that getHelloGreeting() must be called.
[~ron_sigal] I know you just explained this to Martin above but I still don't get it. Here is how I am interpreting what you are saying, The Valid annotation is on a method, which one would expect would be triggered on method invocation, but because it is on a method that starts with 'get'(JavaBeans standard), the Valid annotation seems to be interpreted as requesting field-level validation which results on the call to getHelloGreeting be called right after a object of the class that implements the interface ValidatedJaxRsInterface is instantiated to answer the rest call instead of waiting for the method to be called for the first time. Did I get that right?
Your proposal of delaying the behavior described above until the PostConstruct is called, while better it can still lead to problems as the postConstruct may not have initialized everything is needed for the method to be called so having a way to turn this behavior off would be ideal for these cases.
was (Author: christian.zambrano):
> 1. As Christian has verified, it seems that getHelloGreeting() is getting called because A) it is a getter, and B) @Valid says that the returned GreetingModel should be validated, which means that getHelloGreeting() must be called.
[~ron_sigal] I know you just explained this to Martin above but I still don't get it. Here is how I am interpreting what you are saying, The Valid annotation is on a method, which means it should be triggered on method invocation, but because it is on a method that starts with 'get'(JavaBeans standard), the Valid annotation seems to be interpreted as requesting field-level validation which results on the call to getHelloGreeting be called right after a object of the class that implements the interface ValidatedJaxRsInterface is instantiated to answer the rest call instead of waiting for the method to be called for the first time. Did I get that right?
Your proposal of delaying the behavior described above until the PostConstruct is called, while better it can still lead to problems as the postConstruct may not have initialized everything is needed for the method to be called so having a way to turn this behavior off would be ideal for these cases.
> @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, 6 months
[JBoss JIRA] (WFLY-11956) @PostConstruct on @ApplicationScoped bean called too late in case @Valid is annotated on a business method
by Christian Zambrano (Jira)
[ https://issues.jboss.org/browse/WFLY-11956?page=com.atlassian.jira.plugin... ]
Christian Zambrano commented on WFLY-11956:
-------------------------------------------
> 1. As Christian has verified, it seems that getHelloGreeting() is getting called because A) it is a getter, and B) @Valid says that the returned GreetingModel should be validated, which means that getHelloGreeting() must be called.
[~ron_sigal] I know you just explained this to Martin above but I still don't get it. Here is how I am interpreting what you are saying, The Valid annotation is on a method, which means it should be triggered on method invocation, but because it is on a method that starts with 'get'(JavaBeans standard), the Valid annotation seems to be interpreted as requesting field-level validation which results on the call to getHelloGreeting be called right after a object of the class that implements the interface ValidatedJaxRsInterface is instantiated to answer the rest call instead of waiting for the method to be called for the first time. Did I get that right?
Your proposal of delaying the behavior described above until the PostConstruct is called, while better it can still lead to problems as the postConstruct may not have initialized everything is needed for the method to be called so having a way to turn this behavior off would be ideal for these cases.
> @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, 6 months
[JBoss JIRA] (DROOLS-3933) Test results coming from the backend are not i18n
by Toni Rikkola (Jira)
Toni Rikkola created DROOLS-3933:
------------------------------------
Summary: Test results coming from the backend are not i18n
Key: DROOLS-3933
URL: https://issues.jboss.org/browse/DROOLS-3933
Project: Drools
Issue Type: Feature Request
Components: Scenario Simulation and Testing
Reporter: Toni Rikkola
Assignee: Daniele Zonca
Some cultures are really strict about seeing the English language in the UI and then again not all people understand English.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months