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

MultiTenantHelper.getTenantId() method should NOT call UserManager.getPrincipal(), otherwise it cannot be called from a computed group

    XMLWordPrintable

    Details

      Description

      if MultiTenantHelper.getTenantId() is called from a computed group contribution class (through call to UserProfileService.getUserProfileDocument()) we get a StackoverflowException as it calls UserManager.getPrincipal() which calls UserManager.makePrincipal(). Computed groups are computed in UserManager.makePrincipal().

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: