Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1086358

Summary: Data Model Oracle: Regression: MethodInfo for nested classes is bugged
Product: [Retired] JBoss BRMS Platform 6 Reporter: manstis
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Locker <jlocker>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: lpetrovi
Target Milestone: ER2Keywords: Regression
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:54:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Test model none

Description manstis 2014-04-10 16:53:02 UTC
Description of problem:

All Editors (Guided Rule Editor, Guided Decision Table Editor, Guided Template Editor etc) use a service that provides meta-data about the classes and their fields available for authoring.

There have been changes made during the release of 6.x to facilitate using Expressions' return types that are not explicitly imported. This change has introduced a regression in the way nested inner classes are handled.

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

6.0.1

How reproducible:

Always

Steps to Reproduce:

1. Create a model that contains a nested class and the outer class has a field that is of the inner class's type. 
2. Create a Guided Rule (for example) using the outer type. 
3. Attempt to use an Expression on the LHS to check the value of a field on the inner type.

Actual results:

NPE is shown.

Expected results:

Expression works correctly.

Comment 1 manstis 2014-04-10 16:54:15 UTC
Created attachment 885029 [details]
Test model

Comment 4 Jiri Locker 2014-05-15 10:42:16 UTC
It is now possible to work with fields of inner class type, both using field restriction and expression editor.