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

Skip locale update for system user

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Skip the locale update for system user when the user profile is created or modified.
    • Sprint:
      nxsupport 10.2.1
    • Story Points:
      1

      Description

      When the user profile document is created or modified, the listener UserLocaleSelectorListener is called to update the locale in the current user session. However such an update is useless for the system user which is not meant to log in to the platform.

      Hence the locale update should be skipped when the current user is system.

      Besides that, not updating the locale seems to prevent from side errors when trying the read the user workspace in custom unrestricted sessions.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.