[jboss-jira] [JBoss JIRA] (DROOLS-260) Drools not writing calendars when marshalling

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Oct 4 13:01:02 EDT 2013


    [ https://issues.jboss.org/browse/DROOLS-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12809536#comment-12809536 ] 

RH Bugzilla Integration commented on DROOLS-260:
------------------------------------------------

Mario Fusco <mfusco at redhat.com> made a comment on [bug 1007385|https://bugzilla.redhat.com/show_bug.cgi?id=1007385]

I couldn't reproduce this issue on the master. Very likely it was related by this issue:

https://issues.jboss.org/browse/DROOLS-260

that has been fixed with this commit:

https://github.com/droolsjbpm/drools/commit/39276fea9209353bf3704663da0b03ef934cc908
                
> Drools not writing calendars when marshalling
> ---------------------------------------------
>
>                 Key: DROOLS-260
>                 URL: https://issues.jboss.org/browse/DROOLS-260
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Final
>            Reporter: Demian Calcaprina
>            Assignee: Mario Fusco
>             Fix For: 6.0.0.CR5
>
>
> When serializing Rule class, https://github.com/droolsjbpm/drools/blob/5.5.x/drools-core/src/main/java/org/drools/rule/Rule.java#L122, the write and read external methods does not write and read calendars properties.
> This causes that, if there is a rule which has a calendar in guvnor, for example,
> rule "CalendarTest"
> 		calendars "my cal"
> 		no-loop true
> 		dialect "mvel"
> 		when
> 		then
> 	    	System.out.println("CALENDAR IS FIRIUNG!!!");
> 	end
> when rule is retrieved, calendars are not took into account.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list