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

Daniel Daniel (JIRA) issues at jboss.org
Mon Feb 16 19:50:49 EST 2015


Daniel Daniel created DROOLS-716:
------------------------------------

             Summary: 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
    Affects Versions: 6.2.0.CR4
            Reporter: Daniel Daniel
            Assignee: Mark Proctor


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
(v6.3.11#6341)


More information about the jboss-jira mailing list