[JBoss JIRA] (WFLY-13711) InfinispanRoutingProvider generates wrong service names when server name contain a dot.
by Paul Ferraro (Jira)
Paul Ferraro created WFLY-13711:
-----------------------------------
Summary: InfinispanRoutingProvider generates wrong service names when server name contain a dot.
Key: WFLY-13711
URL: https://issues.redhat.com/browse/WFLY-13711
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 20.0.1.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Fix For: 21.0.0.Beta1
The problematic pattern:
{code:java}
BinaryRequirement requirement = ...;
ServiceName.parse(requirement.resolve(container, cache));
{code}
should be:
{code:java}
ServiceName.parse(requirement.getName()).append(container, cache);
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 1 month
[JBoss JIRA] (WFLY-13710) Hibernate/JPA custom 2LC regions generate wrong service names when region names contain a dot.
by Paul Ferraro (Jira)
Paul Ferraro created WFLY-13710:
-----------------------------------
Summary: Hibernate/JPA custom 2LC regions generate wrong service names when region names contain a dot.
Key: WFLY-13710
URL: https://issues.redhat.com/browse/WFLY-13710
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 20.0.1.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Fix For: 21.0.0.Beta1
The problematic pattern:
{code:java}
BinaryRequirement requirement = ...;
ServiceName.parse(requirement.resolve(container, cache));
{code}
should be:
{code:java}
ServiceName.parse(requirement.getName()).append(container, cache);
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 1 month
[JBoss JIRA] (DROOLS-5544) RuleRuntimeEventListener not containing the rule that triggered it when rules are compiled
by Ciprian Chiru (Jira)
Ciprian Chiru created DROOLS-5544:
-------------------------------------
Summary: RuleRuntimeEventListener not containing the rule that triggered it when rules are compiled
Key: DROOLS-5544
URL: https://issues.redhat.com/browse/DROOLS-5544
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.31.0.Final
Reporter: Ciprian Chiru
Assignee: Luca Molteni
When rules are compiled using _kie-maven-compile_, the event handlers implementing
_RuleRuntimeEventListener_ no longer have the rule that triggered them set (_ObjectInsertedEvent.getRule()_ is null) .
{code:java}
public class MyListener implements RuleFactEventListener {
@Override
public void objectInserted(final ObjectInsertedEvent event) {
System.out.println(event.getRule()); // Throws exception
}
{code}
It only happens when the compiler plugin is invoked. If the rules are used as such, the event is properly set.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 1 month
[JBoss JIRA] (DROOLS-5543) [Guided Decision Table Editor] Pressing <tab> to exit cell throws client-side exception
by Michael Anstis (Jira)
Michael Anstis created DROOLS-5543:
--------------------------------------
Summary: [Guided Decision Table Editor] Pressing <tab> to exit cell throws client-side exception
Key: DROOLS-5543
URL: https://issues.redhat.com/browse/DROOLS-5543
Project: Drools
Issue Type: Bug
Components: Guided Decision Table Editor
Affects Versions: 7.41.0.Final
Reporter: Michael Anstis
Assignee: Toni Rikkola
Pressing <tab> to exit a cell in a Guided Decision Table throws a client-side exception.
See the attached screenshot. Pressing <tab> in the {{Fred}} cell throws the exception.
Clicking outside of it (to loose focus) is OK.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 1 month
[JBoss JIRA] (DROOLS-5542) org.apache.maven.plugins:maven-compiler-plugin fails on the generated model
by Ciprian Chiru (Jira)
Ciprian Chiru created DROOLS-5542:
-------------------------------------
Summary: org.apache.maven.plugins:maven-compiler-plugin fails on the generated model
Key: DROOLS-5542
URL: https://issues.redhat.com/browse/DROOLS-5542
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.40.0.Final
Reporter: Ciprian Chiru
Assignee: Luca Molteni
Given a rule as such (modified from the standard example):
{code:java}
global org.example.drools.service.DummyService dummyService;
rule "will execute per each Measurement having ID color"
no-loop
when
Measurement( id == "color", $colorVal : val )
$var1: String() from dummyService.dummy("a");
$var2: String() from dummyService.dummy("b");
$var3: String() from dummyService.dummy("c");
String() from dummyService.dummy($var1, $var2, $var3)
then
controlSet.add($colorVal);
end{code}
The _org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile_ fails with:
{code:java}
no suitable method found for from(org.drools.model.Global<org.example.drools.service.DummyService>,org.drools.model.Variable<java.lang.String>,org.drools.model.Variable<java.lang.String>,org.drools.model.Variable<java.lang.String>,rules.PFD.LambdaExtractorFD1FA74D5FA8CFA329D97E34A42287FA)
[ERROR] method org.drools.model.DSL.<T>from(T) is not applicable
[ERROR] (cannot infer type-variable(s) T
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<T>from(org.drools.model.Variable<T>) is not applicable
[ERROR] (cannot infer type-variable(s) T
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<T>from(org.drools.model.functions.Function0<T>) is not applicable
[ERROR] (cannot infer type-variable(s) T
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<T>from(org.drools.model.Variable<T>,org.drools.model.functions.Function1<T,?>) is not applicable
[ERROR] (cannot infer type-variable(s) T
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<A,B>from(org.drools.model.Variable<A>,org.drools.model.Variable<B>,org.drools.model.functions.Function2<A,B,?>) is not applicable
[ERROR] (cannot infer type-variable(s) A,B
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<A,B,C>from(org.drools.model.Variable<A>,org.drools.model.Variable<B>,org.drools.model.Variable<C>,org.drools.model.functions.Function3<A,B,C,?>) is not applicable
[ERROR] (cannot infer type-variable(s) A,B,C
[ERROR] (actual and formal argument lists differ in length)){code}
So the DSL.from() cannot accept more than 2 variables.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 1 month
[JBoss JIRA] (WFLY-13676) Increase the test coverage of jpa and jpa-distributed galleon layers
by Yeray Borges Santana (Jira)
[ https://issues.redhat.com/browse/WFLY-13676?page=com.atlassian.jira.plugi... ]
Yeray Borges Santana updated WFLY-13676:
----------------------------------------
Summary: Increase the test coverage of jpa and jpa-distributed galleon layers (was: Increase the test coverage of jpa and jpa-distribute galleon layers)
> Increase the test coverage of jpa and jpa-distributed galleon layers
> --------------------------------------------------------------------
>
> Key: WFLY-13676
> URL: https://issues.redhat.com/browse/WFLY-13676
> Project: WildFly
> Issue Type: Task
> Components: Build System, JPA / Hibernate, Test Suite
> Reporter: Yeray Borges Santana
> Assignee: Yeray Borges Santana
> Priority: Major
> Fix For: 21.0.0.Beta1
>
>
> These layers must be tested independently on testsuite/layers testsuite.
> These layers should also be tested in aggregation with one or more base layers it is expected to decorate, running the test with each of one separately.
> We have to add new Galleon provision execution to provision a server with a base layer provisioned with jpa or jpa-distributed and add a surefire execution to run suitable WildFly tests on them.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 1 month