Bug 1098124
| Summary: | Cannot use nested class as a fact in Guided Editor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Jiri Locker <jlocker> | ||||
| Component: | Business Central | Assignee: | manstis | ||||
| Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.2 | CC: | etirelli, kverlaen | ||||
| Target Milestone: | DR4 | ||||||
| Target Release: | 6.1.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 19:38:57 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
Jiri Locker
2014-05-15 10:59:01 UTC
The problem was that Inner needed to either be (a) qualified with Outer, or (b) imported. I elected to make the editor work the same as IDEA - i.e. the Inner class is qualified with the Outer class name (or needs to be imported in full if in a different package to the rule). This leads to a rule: rule "test" when Outer.Inner( value == "abc" ) ... when created in the same package as the Outer type; or: import guvnor.bugs.dmo.Outer.Inner; rule "test" when Inner( value == "abc" ) ... when in a different package and Outer.Inner is imported with the Config tab. This fix was deferred to 6.1.0. Verified with ER2. |