Hello<br>I&#39;d like to report a (possible) bug,<br>I&#39;ve tried to run this on the latest version of drools (4.0.3) but I get an error: <br>applyOrTransformation could not find transformation for parent &#39;OR&#39; and child &#39;OR&#39;
<br>java.lang.RuntimeException: applyOrTransformation could not find transformation for parent &#39;OR&#39; and child &#39;OR&#39;<br>&nbsp;&nbsp;&nbsp; at org.drools.rule.LogicTransformer.applyOrTransformation(LogicTransformer.java:148)
<br>&nbsp;&nbsp;&nbsp; at org.drools.rule.LogicTransformer.processTree(LogicTransformer.java:140)<br>&nbsp;&nbsp;&nbsp; at org.drools.rule.LogicTransformer.transform(LogicTransformer.java:76)<br>&nbsp;&nbsp;&nbsp; at org.drools.rule.Rule.getTransformedLhs(Rule.java:419)
<br>&nbsp;&nbsp;&nbsp; at org.drools.reteoo.builder.ReteooRuleBuilder.addRule(ReteooRuleBuilder.java:102)<br>&nbsp;&nbsp;&nbsp; at org.drools.reteoo.ReteooBuilder.addRule(ReteooBuilder.java:116)<br>&nbsp;&nbsp;&nbsp; at org.drools.reteoo.ReteooRuleBase.addRule(ReteooRuleBase.java
:268)<br>&nbsp;&nbsp;&nbsp; at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:337)<br>&nbsp;&nbsp;&nbsp; at hr.combis.rule.editor.tester.RuleTesterFDAImpl.createRuleBase(RuleTesterFDAImpl.java:210)<br>&nbsp;&nbsp;&nbsp; at hr.combis.rule.editor.tester.RuleTesterFDAImpl.init
(RuleTesterFDAImpl.java:159)<br>&nbsp;&nbsp;&nbsp; at hr.combis.rule.editor.testing.TestingExecutor.run(TestingExecutor.java:129)<br>&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Thread.java:595)<br>this is what the rule looks like:<br><br>wine : Wine(color == &quot;red&quot;)
<br>or<br>(<br>&nbsp;&nbsp;&nbsp; cheese : Cheese(smelly == &quot;yes&quot;)<br>&nbsp;&nbsp;&nbsp; <b>and</b><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; person : Person(height == 12, fovouriteCheese == cheese)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <b>or</b><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; person : Person(height == 13, fovouriteCheese == cheese)
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; )<br>)<br><br>the rule looks perfectly sensical to me. If I change it to this (which, btw. looks non-sensical)<br>wine : Wine(color == &quot;red&quot;)<br>
or<br>
(<br>
&nbsp;&nbsp;&nbsp; cheese : Cheese(smelly == &quot;yes&quot;)<br>
&nbsp;&nbsp;&nbsp; <b>or</b><br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; person : Person(height == 12, fovouriteCheese == cheese)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <b>and</b><br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; person : Person(height == 13, fovouriteCheese == cheese)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; )<br>
)<br clear="all"><br><br>I&#39;m not saying the second one shouldn&#39;t work(I fail to make the sense of it however), but it looks to me, the first one should.<br>Am I wrong, or is this really a bug?<br>-- <br>lp<br>------
<br>Stjepan