]
Mark Proctor updated JBRULES-2763:
----------------------------------
Fix Version/s: 5.2.0.CR1
edson: I belive this is now working.
Event declaration using fqn
---------------------------
Key: JBRULES-2763
URL:
https://issues.jboss.org/browse/JBRULES-2763
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: Java 1.6
Drools 5.1.1
Reporter: Samuli Saarinen
Assignee: Edson Tirelli
Fix For: 5.2.0.CR1
I'm trying to create event declaration using fqn in the declaration but
for some reason it doesn't work. I have the following rule:
package com.test.pkg
declare com.test.Event1
@role(event)
@expires(2s)
end
compiling it produces the following error:
[6,11]: [ERR 103] Line 6:11 rule 'end_key' failed predicate:
{(validateIdentifierKey(DroolsSoftKeywords.END))}? in com
But if I change it as follows:
package com.test.pkg
import com.test.Event1
declare Event1
@role(event)
@expires(2s)
end
Everything works as expected...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: