[jboss-jira] [JBoss JIRA] (DROOLS-716) Guvnor/BRMS Joda DateTime == operator breaking Guided Rule UI

Jozef Marko (JIRA) issues at jboss.org
Mon Jul 16 16:10:00 EDT 2018


     [ https://issues.jboss.org/browse/DROOLS-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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)


More information about the jboss-jira mailing list