[Red Hat JIRA] (DROOLS-6010) Not able to use a space within quotes in guided DecisionTable.
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-6010?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-6010:
--------------------------------
Steps to Reproduce:
* Import attached project and open GuidedDecisionTable.
* In the Model tab we have condition as Person( id in ( "1", "2", " " ) ).
* Check the source tab, we can see rule like as:
*
{code:java}
rule "Row 1 SampleTable"
dialect "mvel"
when
person : Person( id in ( "1", "2", "" ) )
then
end{code}
space within quotes is removed.
> Not able to use a space within quotes in guided DecisionTable.
> --------------------------------------------------------------
>
> Key: DROOLS-6010
> URL: https://issues.redhat.com/browse/DROOLS-6010
> Project: Drools
> Issue Type: Bug
> Components: Guided Decision Table Editor, Guided Rule Editor, Guided Template Editor
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 1 month
[Red Hat JIRA] (WFLY-14456) Remove Java EE References from the i18n strings
by Yeray Borges Santana (Jira)
Yeray Borges Santana created WFLY-14456:
-------------------------------------------
Summary: Remove Java EE References from the i18n strings
Key: WFLY-14456
URL: https://issues.redhat.com/browse/WFLY-14456
Project: WildFly
Issue Type: Task
Components: Server
Reporter: Yeray Borges Santana
Assignee: Yeray Borges Santana
Replace Java EE References from the i18n strings. Those strings are in the various XXXLogger.java files and the LocalDescriptions.properties files.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 1 month
[Red Hat JIRA] (WFCORE-5292) Remove Java EE References from the i18n strings
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/WFCORE-5292?page=com.atlassian.jira.plug... ]
Darran Lofthouse commented on WFCORE-5292:
------------------------------------------
Before submitting PRs lets just double check with [~brian.stansberry] and [~jmesnil]. If we are going to need reviews from each component lead then IMO individual PRs make more sense, but this would be a hit to CI as each job would trigger a full CI run.
> Remove Java EE References from the i18n strings
> -----------------------------------------------
>
> Key: WFCORE-5292
> URL: https://issues.redhat.com/browse/WFCORE-5292
> Project: WildFly Core
> Issue Type: Task
> Components: Server
> Reporter: Yeray Borges Santana
> Assignee: Yeray Borges Santana
> Priority: Major
>
> Replace Java EE References from the i18n strings. Those strings are in the various XXXLogger.java files and the LocalDescriptions.properties files.
>
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 1 month
[Red Hat JIRA] (DROOLS-6018) Enable exec-model for moved tests in drools-test-coverage
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-6018?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi commented on DROOLS-6018:
-------------------------------------------
Just a note: reviewing those tests...
package org.drools.mvel
Most of the tests use MVELConstraint/MVELConstraintTestUtil. We can change them to LambdaConstraint to remove drools-mvel dependency. Then we can move them to drools-core test?
package org.drools.mvel.asm
Move to drools-core test?
package org.drools.mvel.compiler
Apart from fact classes, there are a few tests.
InlineCastTest/NestedAccessorsTest (extends CommonTestMethodBase)
NodeHashingTest (KieHelper)
package org.drools.mvel.compiler.api
KnowledgeBuilderTest (directly use KnowledgeBuilder, newKieBuilder. Intentional api test... we can leave it?)
...
> Enable exec-model for moved tests in drools-test-coverage
> ---------------------------------------------------------
>
> Key: DROOLS-6018
> URL: https://issues.redhat.com/browse/DROOLS-6018
> Project: Drools
> Issue Type: Task
> Components: executable model
> Affects Versions: 7.49.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> DROOLS-5972 and DROOLS-6017 moved/moves unit tests from drools-mvel but these tests are still tested only for standard-drl.
> This JIRA is to ensure those moved tests to be run against exec-model so we can enhance the test coverage.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 1 month
[Red Hat JIRA] (DROOLS-6041) "RHS doesn't have a type" error when a semicolon is missing with exec-model and mvel dialect
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-6041?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-6041:
--------------------------------------
Sprint: 2021 Week 07-09 (from Feb 15)
Story Points: 3
> "RHS doesn't have a type" error when a semicolon is missing with exec-model and mvel dialect
> --------------------------------------------------------------------------------------------
>
> Key: DROOLS-6041
> URL: https://issues.redhat.com/browse/DROOLS-6041
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.50.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> With a rule like this: (See, a semicolon is missing in the "p2.age = 30" line)
> {noformat}
> rule R
> dialect "mvel"
> when
> Person(name == "Mario")
> then
> Person p2 = new Person("John");
> p2.age = 30
> insert(p2);
> end
> {noformat}
> exec-model fails with
> {noformat}
> CompilationProblemErrorResult: org.drools.mvelcompiler.MvelCompilerException: RHS doesn't have a type
> {noformat}
> while standard-drl runs successfully.
> I'm not sure if exec-model should work the same as standard-drl (treat a new line as a delimiter?), or give a better error message.
> This looks to be a rare issue but when using spreadsheet, it's possible to forget to add a semicolon. (Then users don't notice the mistake because standard-drl executes it succesfully)
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 1 month