[JBoss JIRA] (DROOLS-534) Score Cards: Error in test scenario after update Guided Score Card
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-534?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-534:
-------------------------------
Component/s: Guided Score Card Editor
Test Scenarios Editor
> Score Cards: Error in test scenario after update Guided Score Card
> ------------------------------------------------------------------
>
> Key: DROOLS-534
> URL: https://issues.jboss.org/browse/DROOLS-534
> Project: Drools
> Issue Type: Bug
> Components: Guided Score Card Editor, Test Scenarios Editor
> Reporter: Gennadiy Kruglov
> Assignee: Mark Proctor
> Labels: drools-tools
> Attachments: 2014-06-25_12-49-04.png, 2014-06-25_12-58-51.png
>
>
> In test scenario has error occurred after update Initial Score in Guided Score Card. There are the following error messages::
> 1) In the Reporting Pane - Unable to get a Session to run tests. Check the project for build errors.
> 2) In the Problems Pane - Found duplicate declaration for type ru.moneyman.rnd.rnd_moneyman_drools.Income
> Income – the field of declarative model class.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-534) Score Cards: Error in test scenario after update Guided Score Card
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-534?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-534:
-------------------------------
Labels: drools-tools (was: )
> Score Cards: Error in test scenario after update Guided Score Card
> ------------------------------------------------------------------
>
> Key: DROOLS-534
> URL: https://issues.jboss.org/browse/DROOLS-534
> Project: Drools
> Issue Type: Bug
> Components: Guided Score Card Editor, Test Scenarios Editor
> Reporter: Gennadiy Kruglov
> Assignee: Mark Proctor
> Labels: drools-tools
> Attachments: 2014-06-25_12-49-04.png, 2014-06-25_12-58-51.png
>
>
> In test scenario has error occurred after update Initial Score in Guided Score Card. There are the following error messages::
> 1) In the Reporting Pane - Unable to get a Session to run tests. Check the project for build errors.
> 2) In the Problems Pane - Found duplicate declaration for type ru.moneyman.rnd.rnd_moneyman_drools.Income
> Income – the field of declarative model class.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-716) Guvnor/BRMS Joda DateTime == operator breaking Guided Rule UI
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-716?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-716:
-------------------------------
Tester: Jozef Marko
> Guvnor/BRMS Joda DateTime == operator breaking Guided Rule UI
> -------------------------------------------------------------
>
> Key: DROOLS-716
> URL: https://issues.jboss.org/browse/DROOLS-716
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 6.2.0.CR4
> Reporter: Daniel Daniel
> Assignee: Mark Proctor
> Labels: drools-tools
>
> I get the following error in the logs when I save:
> {noformat}
> 02:33:35,790 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (http-/0.0.0.0:8080-1) org.joda.time.format.ISODateTimeFormat and org.joda.time.format.ISODateTimeFormat$Constants disagree on InnerClasses attribute
> 02:33:35,829 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (http-/0.0.0.0:8080-1) org.joda.time.format.DateTimeFormatterBuilder and org.joda.time.format.DateTimeFormatterBuilder$TimeZoneId disagree on InnerClasses attribute
> {noformat}
> My breaking rule is
> {noformat}
> rule "Test DateTime"
> when
> $testDayA : TestDay($uniqueIdA : uniqueId, $dayA : day, valid == true)
> $testDayB : TestDay(uniqueId != $uniqueIdA, day == $dayA, valid == true)
> then
> $testDayA.setValid(false);
> update($testDayA);
> end
> {noformat}
> The day variable is
> {noformat}
> private DateTime day;
> {noformat}
> I can get the UI closing and opening if I remove 'day == $dayA'. That is the expression that breaks the UI.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-716) Guvnor/BRMS Joda DateTime == operator breaking Guided Rule UI
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-716?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-716:
-------------------------------
Component/s: Guided Rule Editor
> Guvnor/BRMS Joda DateTime == operator breaking Guided Rule UI
> -------------------------------------------------------------
>
> Key: DROOLS-716
> URL: https://issues.jboss.org/browse/DROOLS-716
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 6.2.0.CR4
> Reporter: Daniel Daniel
> Assignee: Mark Proctor
> Labels: drools-tools
>
> I get the following error in the logs when I save:
> {noformat}
> 02:33:35,790 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (http-/0.0.0.0:8080-1) org.joda.time.format.ISODateTimeFormat and org.joda.time.format.ISODateTimeFormat$Constants disagree on InnerClasses attribute
> 02:33:35,829 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (http-/0.0.0.0:8080-1) org.joda.time.format.DateTimeFormatterBuilder and org.joda.time.format.DateTimeFormatterBuilder$TimeZoneId disagree on InnerClasses attribute
> {noformat}
> My breaking rule is
> {noformat}
> rule "Test DateTime"
> when
> $testDayA : TestDay($uniqueIdA : uniqueId, $dayA : day, valid == true)
> $testDayB : TestDay(uniqueId != $uniqueIdA, day == $dayA, valid == true)
> then
> $testDayA.setValid(false);
> update($testDayA);
> end
> {noformat}
> The day variable is
> {noformat}
> private DateTime day;
> {noformat}
> I can get the UI closing and opening if I remove 'day == $dayA'. That is the expression that breaks the UI.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-716) Guvnor/BRMS Joda DateTime == operator breaking Guided Rule UI
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-716?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-716:
-------------------------------
Labels: drools-tools (was: )
> Guvnor/BRMS Joda DateTime == operator breaking Guided Rule UI
> -------------------------------------------------------------
>
> Key: DROOLS-716
> URL: https://issues.jboss.org/browse/DROOLS-716
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 6.2.0.CR4
> Reporter: Daniel Daniel
> Assignee: Mark Proctor
> Labels: drools-tools
>
> I get the following error in the logs when I save:
> {noformat}
> 02:33:35,790 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (http-/0.0.0.0:8080-1) org.joda.time.format.ISODateTimeFormat and org.joda.time.format.ISODateTimeFormat$Constants disagree on InnerClasses attribute
> 02:33:35,829 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (http-/0.0.0.0:8080-1) org.joda.time.format.DateTimeFormatterBuilder and org.joda.time.format.DateTimeFormatterBuilder$TimeZoneId disagree on InnerClasses attribute
> {noformat}
> My breaking rule is
> {noformat}
> rule "Test DateTime"
> when
> $testDayA : TestDay($uniqueIdA : uniqueId, $dayA : day, valid == true)
> $testDayB : TestDay(uniqueId != $uniqueIdA, day == $dayA, valid == true)
> then
> $testDayA.setValid(false);
> update($testDayA);
> end
> {noformat}
> The day variable is
> {noformat}
> private DateTime day;
> {noformat}
> I can get the UI closing and opening if I remove 'day == $dayA'. That is the expression that breaks the UI.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-691) Workflow Test Scenario error: org.foo.Bar cannot be cast to org.foo.Bar
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-691?page=com.atlassian.jira.plugin... ]
Jozef Marko updated DROOLS-691:
-------------------------------
Component/s: Test Scenarios Editor
> Workflow Test Scenario error: org.foo.Bar cannot be cast to org.foo.Bar
> -----------------------------------------------------------------------
>
> Key: DROOLS-691
> URL: https://issues.jboss.org/browse/DROOLS-691
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 6.1.0.Final
> Reporter: Rares Vernica
> Assignee: Toni Rikkola
>
> This is a bug with Workflow Test Scenario. I have two types:
> org.foo.Bar
> goz
> org.foo.Goz
> g1
> g2
> Bar has a member of type Goz called goz. Goz has two members g1 and g2 which have predefined values in an enumeration and g2 depends on the value of g1. I have a rule using them and the rule is fine.
> The problem is when I create a Test Scenario using them. The scenario has Goz and a Bar in the GIVEN section. Both are blinded to variable names and the goz member of Bar is initialized with the Goz instance.
> I first create Goz in the GIVEN section. I add g1 and g2 and assign literal values to them.
> Then I create Bar in the given section as well. Without any further changes I "Run scenario" and I get:
> Reporting:
> There were test failures
> Text
> Test : org.foo.Bar cannot be cast to org.foo.Bar
> It might be relate to DROOLS-689 which I reported earlier.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years