<div dir="ltr"><div><div>Unfortunately, it is "Version 5.5.0.Final"<br><br></div>thanks<br><br></div>Sean<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 3:34 PM, Michael Anstis <span dir="ltr"><<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>What version of Guvnor are you using?<br><br>Can you check with 5.5? I have a vague recollection that this has been fixed.<br>
<br></div>If the problem remains in 5.5 please raise a JIRA at <a href="https://issues.jboss.org/browse/GUVNOR" target="_blank">https://issues.jboss.org/browse/GUVNOR</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 6 September 2013 20:07, Sean Su <span dir="ltr"><<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div>I found that the statement generated from "from collection" is not correct when it is used in combination with "Any of the following are true" feature. There is ">" being generated in frond of the statement which is causing the compilation error.<br>
<br></div><div>Here is the code being generated from the guided editor:<br><br><table><tbody><tr><td> java.util.Collection( size >= 1 ) from collect ( ProcedureEvent( elements contains 4658 ))<br>( >java.util.Collection( size == 1 ) from collect ( ProcedureEvent( elements contains 7788 , eval( contiguousDays.createNewWithPaddedTime(1, DateTimeUnit.DAY).intersectsButNotAdjacent($diagnosticEvent.contiguousDays) )))<br>
or >java.util.Collection( size >= 2 ) from collect ( DrugEvent( elements contains 4146 ))<br>)</td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td>
</tr></tbody></table>The code above was from the item 8 and 9 in the attached screen. As shown, the collection statement is correct when there is no "any of the following are true" involved. <br><br></div><div>
This seems to be a bug in Guvnor.<br>
<br>Please let me know if this needs to be reported.<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div>Sean<br></div></font></span></div>
<br></div></div>_______________________________________________<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></blockquote></div><br></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></blockquote></div><br></div>