pmcneil/One-Ring — Issue #3: facts that contains maps can't be referenced
Author: pmcneil
Created: 2011-12-09 04:48:37+00:00
State: open

if you pass a fact like [name: [first: 'fred', last: 'smith']] then try to access the first or last name in a rule like this:

rule('check name') {
when {
name.first == 'fred'
} ...

you get a groovy.lang.MissingPropertyException: No such property: name for class: com.nerderg.rules.RulesetDelegate