I am only aware of the changes made around the dtable XML.<br><br>Declarative fact types would be an interesting one as that had a few changes made too to support CEP (addition of annotations).<br>
<br>I am unaware of the difficulties with processes. Somebody else here may be able to comment.<br><br><br><div class="gmail_quote">2011/7/12 Atherton, Robert W CIV SPAWARSYSCEN-ATLANTIC, 54422 <span dir="ltr"><<a href="mailto:robert.atherton@navy.mil">robert.atherton@navy.mil</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><u></u>
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Is the statement about backwards compatibility only true
for CEP and decision tables, or does it pertain to upgrading from 5.2.M2 to
Final as a whole? </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">My project has been trying to upgrade from 5.2.M2 to Final,
and we are having problems with our StatefulKnowledgeSession not containing any
of the processes or fact types defined in our guvnor
package.</font></span></div>
<div> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Thanks,</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">Rob</font></span></div><br>
<div dir="ltr" lang="en-us" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>] <b>On Behalf Of </b>Michael
Anstis<br><b>Sent:</b> Tuesday, July 12, 2011 11:53 AM<br><b>To:</b> Rules Users
List<br><b>Subject:</b> Re: [rules-users] repository in 5.2.M2 crashes in
5.2.Final because of decision table serialization<br></font><br></div><div><div></div><div class="h5">
<div></div>That explains it.<br><br>The CEP changes were made between 5.2.M2 and
Final.<br><br>Since 5.2.M2 was a beta Mark Proctor was OK not keeping backwards
compatibility between the M2 and Final. I checked before making the
changes.<br><br>Unfortunately the code-base only supports automatic conversion
between 5.1.Final and 5.2.Final. Any guided decision tables made on 5.2.M1,
5.2.M2 and 5.2.CR1 are incompatible with 5.2.Final.<br><br>With kind
regards,<br><br>Mike<br><br>
<div class="gmail_quote">2011/7/12 Vincent LEGENDRE <span dir="ltr"><<a href="mailto:vincent.legendre@eurodecision.com" target="_blank">vincent.legendre@eurodecision.com</a>></span><br>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);">
<div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Times New Roman;">
<p>We had a repository done with 5.2.M2.</p>
<p>We had exported this in a xml, and import this xml in a new 5.2.Final
version</p>
<p> </p>
<p>We don't use the classes below (at least not intentionnaly), we simply try
to get the source (from Guvnor URL) or "compile" a package (from the package
view).</p>
<p><br>Is there a way to use
org.drools.ide.common.server.util.RepositoryUpgradeHelper to convert the
repository explicitely ?</p>
<p><br> </p>
<p></p>
<hr>
<p><b>De: </b>"Michael Anstis" <<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>><br><b>À: </b>"Rules Users List"
<<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br><b>Envoyé: </b>Mardi 12
Juillet 2011 17:39:00<br><b>Objet: </b>Re: [rules-users] repository in 5.2.M2
crashes in 5.2.Final because of decision table serialization</p>
<div>
<div></div>
<div><br><br>How are you loading and compiling the
dtable?<br><br>Guvnor uses
org.drools.ide.common.server.util.GuidedDTXMLPersistence to convert XML to and
from the object model.<br><br>This in turn uses
org.drools.ide.common.server.util.RepositoryUpgradeHelper to convert from
GuidedDecisionTable to GuidedDecisionTable52.<br><br>We had to make some
essential changes for Guvnor 5.2 to support CEP operators on the guided
decision table.<br><br>With kind regards,<br><br>Mike<br><br></div></div>
<div>
<div></div>
<div>
<div class="gmail_quote">2011/7/12 Vincent LEGENDRE <span dir="ltr"><<a href="mailto:vincent.legendre@eurodecision.com" target="_blank">vincent.legendre@eurodecision.com</a>></span><br>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);">
<div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Times New Roman;">
<p>Hi all</p>
<p> </p>
<p>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.</p>
<p>After looking more depply, it appears that the XML storage format
has changed in 5.2.Final : </p>
<p>- root XML is now "<font size="2">decision-table52<font size="3">"
instead of "dtable"</font></font></p>
<p>- pattern is now "<font size="2">org.drools.guvnor.client.modeldriven.dt52.Pattern52</font>" with some
condition-column grouped by fact, instead of independant condition-column
</p>
<p>- actions is now "<font size="2">insert-fact-column</font>52"
instead of the same thing without version in it, but this time no structure
changes ...</p>
<p> </p>
<p>Is there a way to migrate old tables to new format ? </p>
<p>Changing a repository.xml by subtitutions is OK ?</p>
<p>Do we have to plan such problems for future versions
?<br></p></div></div><br>_______________________________________________<br>rules-users
mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br>_______________________________________________<br>rules-users
mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></div></div><br>_______________________________________________<br>rules-users
mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>