Bug 851443

Summary: scala case class, Option field and mvel : unable to resolve method using strict-mode
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Mario Fusco <mfusco>
Component: BRE (Expert, Fusion)Assignee: Mario Fusco <mfusco>
Status: VERIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1CC: jcoleman
Target Milestone: ER2   
Target Release: BRMS 5.3.1 GA   
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:
Embargoed:

Description Mario Fusco 2012-08-24 08:23:06 UTC

Comment 1 Radovan Synek 2012-09-18 15:06:12 UTC
The described problem persists:
address.get.town == "London" throws the same exception, but rewriting this part of the rule as follows, works:
address.get().town == "London"

Comment 2 Mario Fusco 2012-09-20 07:06:11 UTC
The problem was in mvel. I fixed it to work even with: address.get.town == "London"

Comment 3 JBoss JIRA Server 2012-09-20 07:06:50 UTC
Mario Fusco <mario.fusco> updated the status of jira JBRULES-3579 to Reopened

Comment 4 JBoss JIRA Server 2012-09-20 07:06:50 UTC
Mario Fusco <mario.fusco> made a comment on jira JBRULES-3579

The described problem persists:
address.get.town == "London" throws the same exception, but rewriting this part of the rule as follows, works:
address.get().town == "London"

Comment 5 JBoss JIRA Server 2012-09-20 07:07:13 UTC
Mario Fusco <mario.fusco> updated the status of jira JBRULES-3579 to Resolved

Comment 6 JBoss JIRA Server 2012-09-20 07:07:13 UTC
Mario Fusco <mario.fusco> made a comment on jira JBRULES-3579

The problem was in mvel. I fixed it to work even with: address.get.town == "London"

Comment 9 Radovan Synek 2012-10-05 13:31:47 UTC
Verified on BRMS-5.3.1.ER2