Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9882

DocumentWrapper getParent(String type) infinite loop if there's no ancestor of that type

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              slacoin Stéphane Lacoin
              Reporter:
              slacoin Stéphane Lacoin
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: