Bug 1073379

Summary: Cannot access subfields in guided editor
Product: [Retired] JBoss BRMS Platform 6 Reporter: Jiri Locker <jlocker>
Component: Business CentralAssignee: Toni Rikkola <trikkola>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Locker <jlocker>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: kverlaen, mbiarnes, rrajasek
Target Milestone: CR1Keywords: Regression
Target Release: 6.0.1   
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:59:36 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:
Bug Depends On:    
Bug Blocks: 986000    
Attachments:
Description Flags
screenshot none

Description Jiri Locker 2014-03-06 10:28:03 UTC
Created attachment 871309 [details]
screenshot

Description of problem:
The use case described in bug 986000 is now blocked. Subfield option is not offered. This worked in ER1 but is broken in ER2.

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

Steps to Reproduce:
See bug 986000.

Comment 1 manstis 2014-03-06 11:56:10 UTC
I could not reproduce following the fix for the referenced BZ.

Comment 2 manstis 2014-03-06 11:58:02 UTC
...but I have found another (possibly related) issue. Re-opening.

Comment 4 Toni Rikkola 2014-03-07 09:09:29 UTC
Looks like raw types and java.lang classes were broken. So if they were used with the expression editor the actual field never showed up.

So say you have
Child {
  String field;
}

Child( field ) would just show up as Child() because the DMO failed to query for any additional fields for field (since there are none). This actually caused an infinite loop in the Data Model Oracle.

master: 
https://github.com/droolsjbpm/kie-wb-common/commit/c1ab709ae
https://github.com/droolsjbpm/drools-wb/commit/d450364f9

6.0.x:
https://github.com/droolsjbpm/kie-wb-common/commit/ede7cbcfd
https://github.com/droolsjbpm/drools-wb/commit/374764365

Comment 5 Michael 2014-03-17 17:18:43 UTC
Ticket cherry-picked into 6.0.1.CR1. 
Commits: cf06c25f91e78cc88ed9f185b155ba5925ceef10
         7c739a4fc6c0d56126ddf9d84ce66bebe48f72f1