<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Vincent,</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">this issue seems to be fixed as per </span><a href="https://issues.jboss.org/browse/JBRULES-3587" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">https://issues.jboss.org/browse/JBRULES-3587</a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Joerg Henne</span> <br><br><div class="gmail_quote">2012/8/6 Vincent LEGENDRE <span dir="ltr">&lt;<a href="mailto:vincent.legendre@eurodecision.com" target="_blank">vincent.legendre@eurodecision.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif">I had the same strange problem some time ago (last winter), but I never managed to reproduce a small sample....<br>
I checked, and my problematic class hierarchy also lived in different packages (and never tried that that for my smaller samples).<br><br><hr><div style="font-size:12pt;font-style:normal;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal">
<b>De: </b>&quot;Joerg Henne&quot; &lt;<a href="mailto:hennejg%2Bnabble@googlemail.com" target="_blank">hennejg+nabble@googlemail.com</a>&gt;<br><b>À: </b><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<b>Envoyé: </b>Lundi 30 Juillet 2012 16:04:50<br><b>Objet: </b>Re: [rules-users] Apply role to whole class hierarchy<br><br>After some debugging I was able to shed some light on what causes the<br>problem, even if I don&#39;t fully understand it. The problem is produced by the<br>
event base class, which is declared with @role(event), i.e. (VSCPEvent)<br>living in a different package than the ButtonEvent. If I move then into the<br>same package, everything works just fine.<br>The two package instances are merged in PackageBuilder.mergePackage(...),<br>
but the RuleBuilder still seems to operate on two separate instances, one<br>with the declarations and Package.isEvent(...) returning true for the<br>ButtonEvent and the other without them. Unfortunately, as I know too little<br>
about the workings of the various builders, I can&#39;t provide you with a<br>ready-made idea of how to fix the problem.<br><br>See <a href="https://issues.jboss.org/browse/JBRULES-3587" target="_blank">https://issues.jboss.org/browse/JBRULES-3587</a><br>
<br>Thanks<br>Joerg<br><br><br><br>--<br>View this message in context: <a href="http://drools.46999.n3.nabble.com/Apply-role-to-whole-class-hierarchy-tp4018930p4018963.html" target="_blank">http://drools.46999.n3.nabble.com/Apply-role-to-whole-class-hierarchy-tp4018930p4018963.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<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><br></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>