Bug 1005204 - DRL containing CEP Windows do not compile if Type is defined in Java and annotated as event
Summary: DRL containing CEP Windows do not compile if Type is defined in Java and anno...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER5
: 6.0.0
Assignee: Mario Fusco
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-06 12:43 UTC by manstis
Modified: 2014-08-06 20:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:18:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description manstis 2013-09-06 12:43:06 UTC
Description of problem:

If a Type used in DRL that uses CEP Windows is defined in Java and annotated with @org.kie.api.definition.type.Role(value = org.kie.api.definition.type.Role.Type.EVENT) the DRL fails to compile.

Version-Release number of selected component (if applicable):

6.0.0.

How reproducible:

See org.drools.compiler.integrationtests.CepJavaTypeTest in drools-compiler for a reproducer.

Steps to Reproduce:
1. See reproducer.

Actual results:

Build errors.

Expected results:

DRL compiles the same as if Type was defined in DRL.

Additional info:

Comment 6 Mario Fusco 2013-10-10 10:23:57 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/f4baca9a4

Comment 7 Marek Winkler 2013-12-12 16:54:35 UTC
Verified on BRMS 6.0.0 ER5.


Note You need to log in before you can comment on or make changes to this bug.