[rules-users] repository in 5.2.M2 crashes in 5.2.Final because of decision table serialization

Michael Anstis michael.anstis at gmail.com
Tue Jul 12 11:39:00 EDT 2011


How are you loading and compiling the dtable?

Guvnor uses org.drools.ide.common.server.util.GuidedDTXMLPersistence to
convert XML to and from the object model.

This in turn uses org.drools.ide.common.server.util.RepositoryUpgradeHelper
to convert from GuidedDecisionTable to GuidedDecisionTable52.

We had to make some essential changes for Guvnor 5.2 to support CEP
operators on the guided decision table.

With kind regards,

Mike

2011/7/12 Vincent LEGENDRE <vincent.legendre at eurodecision.com>

> Hi all
>
>
>
> We tried to use the 5.2.Final version of Guvnor, but the compilation fails
> with an error saying that class "dtable" does not exists.
>
> After looking more depply, it appears that the XML storage format has
> changed in 5.2.Final :
>
> - root XML is now "decision-table52" instead of "dtable"
>
> - pattern is now "org.drools.guvnor.client.modeldriven.dt52.Pattern52"
> with some condition-column grouped by fact, instead of independant
> condition-column
>
> - actions is now "insert-fact-column52" instead of the same thing without
> version in it, but this time no structure changes ...
>
>
>
> Is there a way to migrate old tables to new format ?
>
> Changing a repository.xml by subtitutions is OK ?
>
> Do we have to plan such problems for future versions ?
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110712/560d26c4/attachment.html 


More information about the rules-users mailing list