I'm doing a customisation and I'm getting a very odd error, I have to query a specific parent CI from the cr object with the condition that the child is the cr affected resource and the family of the parent is a specific one, this is my code:
bmq = format("parent.family = %d and child = U'%s'", ci_family, (uuid)affrcuuid);
send_wait(0, top_object(), "call_attr", "bmhier", "sync_fetch", "MLIST_STATIC", bmq, -1,0);
I get the following error:
Unable to forward the message to attribute parent
Spell interp failed at z.spl:46:cr::z: get_attr on parent failed: Unknown name. parent
But if I query only the parent.family or the child, or the parent and the child, it works, it appears that the error only appears when I try to do a query mixing dot notation and a base field.
Have anyone encountered this problem, any solutions/workaround?
Thanks in advance.