Bug 748775

Summary: Class Thing cannot be resolved
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Tomas Schlosser <tschloss>
Component: BRE (Expert, Fusion)Assignee: Mark Proctor <mproctor>
Status: ASSIGNED --- QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: atangrin, mfusco, mproctor
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomas Schlosser 2011-10-25 10:55:46 UTC
Description of problem:
If you try using Thing interface in rules you get compilation exception.

Version-Release number of selected component (if applicable):
BRMS-5.3.0.dev4

How reproducible:
Every time

Steps to Reproduce:
1. try to shed a trait
  
Actual results:
Rule Compilation error : [Rule name='print person'] org/jboss/qa/drools/expert/Rule_print_person.java (7:447) : Thing cannot be resolved to a type 

Expected results:
Stripped instance is available.

Additional info:

Comment 2 Mark Proctor 2012-01-19 02:16:55 UTC
Traits are not being productized for BRMS 5.3.

Comment 3 Mario Fusco 2012-04-17 14:03:28 UTC
We'd need a bit more info in order to reproduce this issue. In particular, did you import the Thing class in your DRL? If so, could you please attach it to ticket?