-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5
-
Fix Version/s: 5.5.0-HF13, 5.6-RC3, 5.6
-
Component/s: Automation
When you call the method getParent(String type) and none of the ancestors of the document are of that specified type, the application ends up in a infinite loop instead of failing or returning null.
That method is part of the class DocumentWrapper, which is in nuxeo-automation-core bundle. It is invoked when you call @
{Document.getParent("type")}inside an automation chain (i.e. in "Set Context Variable").
Thanks to fbpolo@ea.com from Electronic Arts for reporting that bug.