getRelayState for scripted attribute definition

Cantor, Scott cantor.2 at osu.edu
Fri Apr 3 14:59:08 EDT 2015


On 4/3/15, 2:46 PM, "Abromowitz, Samuel" <s.abromowitz at neu.edu> wrote:

>profileContext is null.

Rod would have to confirm, but eyeballing the code I think there may be a bug in the place where the variable is being initialized. I think the tree looks like this:

ProfileRequestContext
	AttributeResolutionContext

I think the code in the attribute plugin was left with the assumption that the tree has one more level in between those two.

The workaround at this point (and would confirm the bug) is to try this:

profileContext = resolutionContext.getParent()

I'm not sure it's possible to fix this in the configuration, I don't know if the right field is settable to override how it's looking up the PRC object internally to set it into the script environment.

-- Scott



More information about the users mailing list