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

Remove NuxeoPrincipal instanciation when building user workspace

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF04, 5.7.1
    • Component/s: None

      Description

      When building a user workspace, a NuxeoPrincipal is instanciated to get the firstname and lastname and set user workspace title.

      Actually building a NuxeoPrincipal for that is not necessary and using user model from UserManager is enough.
      Moreover, not building a NuxeoPrincipal at this step will prevent from getting StackOverflowException, when having computed groups that need information from user profile

        Attachments

          Activity

            People

            • Assignee:
              tmartins Thierry Martins
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: