[rules-users] function compilation error - could need bug fix
JLL
jll at labocollard.be
Thu May 10 03:34:50 EDT 2007
OK i'll answer myself, someone could be interested in
-------- Message original --------
Sujet: [JBoss JIRA] Closed: (JBRULES-811) compiler error when using an
object returned by a function in retract clause
Date: Wed, 9 May 2007 21:04:52 -0400 (EDT)
De: Edson Tirelli (JIRA) <jira-events at lists.jboss.org>
Pour: jll at labocollard.be
[ http://jira.jboss.com/jira/browse/JBRULES-811?page=all ]
Edson Tirelli closed JBRULES-811.
---------------------------------
Fix Version/s: 4.0.0.MR3
Resolution: Done
Fixed. Will be released in 4.0.0MR3.
Thank you for reporting and providing test case.
Plz let us know if you have any other problem.
> compiler error when using an object returned by a function in retract
> clause
> ----------------------------------------------------------------------------
>
> Key: JBRULES-811
> URL: http://jira.jboss.com/jira/browse/JBRULES-811
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see) Affects Versions: 3.1-m1
> Environment: eclipse ide under fecore core 6 linux
> java version "1.5.0_06"
> Reporter: Jean-luc Livémont
> Assigned To: Edson Tirelli
> Fix For: 4.0.0.MR3
>
>
> I have posted a question on the forum about this subject
> i made a snippet reproducing the problem in a very simple example
> include in this forum post
> http://www.nabble.com/function-compilation-error---could-need-bug-fix-tf3589880.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
JLL wrote:
>
> running the attached simple snippet i have the following error
> i have posted a bug fix for this
> here the snippet jar http://www.nabble.com/file/7983/getMinSnippet.jar
> getMinSnippet.jar
>
> org.drools.rule.InvalidRulePackage: Rule Compilation error The method
> getMin(Element, Element) in the type GetMin is not applicable for the
> arguments (Element, FactHandle)
>
> at org.drools.rule.Package.checkValidity(Package.java:367)
> at
> org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:244)
> at com.sample.DroolsTest.readRule(DroolsTest.java:68)
> at com.sample.DroolsTest.main(DroolsTest.java:21)
>
>
>
>
--
View this message in context: http://www.nabble.com/function-compilation-error---could-need-bug-fix-tf3589880.html#a10408541
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list