]
Jozef Marko closed DROOLS-716.
------------------------------
Resolution: Done
This won't be done due to changed team focus on DMN and ScenarioSimulation assets.
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
Priority: Major
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.