Hi,<br><br>Please see <a href="https://bugzilla.redhat.com/show_bug.cgi?id=724409">https://bugzilla.redhat.com/show_bug.cgi?id=724409</a>. This is reported for BRMS 5.3.<br><br>The failure to update the package name is caused by (I presume) changes to the de-serialization of RuleFlow files.<br>
<br>Drools Guvnor includes the following in org.drools.guvnor.server.contenthandler.RuleFlowHandler:-<br><br><span style="font-family:courier new,monospace">    RuleFlowProcess process = null;</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">    InputStreamReader reader = new InputStreamReader( is );</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">    PackageBuilderConfiguration configuration = new PackageBuilderConfiguration();</span><span style="font-family:courier new,monospace"><br>
    XmlProcessReader xmlReader = new XmlProcessReader( configuration.getSemanticModules(),</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">                                                       getClassLoader() );</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">    RuleFlowProcess process = (RuleFlowProcess) xmlReader.read( reader );   \\&lt;---- CCE</span><br style="font-family:courier new,monospace">
<br>The problem is that XmlProcessReader returns a List&lt;Process&gt; and hence Guvnor gets a (swallowed) ClassCastException.<br><br>I could simply change this to use a List&lt;Process&gt; however I note that the XmlProcessReader fails to parse the RuleFlow file attached to the BZ issue (the processes list is null after parsing).<br>
<br>Furthermore there will (possibly) be an abundance of Drools Guvnor repository files that contain legacy RuleFlowProcess XML that Guvnor will need to continue to handle.<br><br>Are RuleFlowProcess deprecated in favor of Process? How can I convert a RuleFlowProcess into a Process (and back again)? How can I de-serialize the BZ RuleFlow XML into a RuleFlowProcess?<br>
<br>Whilst the BZ is for BRMS5.3 the problematic code is also in Drools Guvnor 5.4.0.CR1 and master branch (and jBPM 5.3.0-SNAPSHOT) so is not set to resolve itself.<br><br>With kind regards,<br><br>Mike<br><br>