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: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | BRMS 5.3.1 | CC: | 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: | 2025-02-10 03:20:37 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: | |||
|
Description
Mario Fusco
2012-08-24 08:23:06 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" The problem was in mvel. I fixed it to work even with: address.get.town == "London" Mario Fusco <mario.fusco> updated the status of jira JBRULES-3579 to Reopened 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" Mario Fusco <mario.fusco> updated the status of jira JBRULES-3579 to Resolved 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" Verified on BRMS-5.3.1.ER2 This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |