Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66845

User configuration page: "User Defined Time Zone" always shows currently logged in user's timezone for all the users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins 2.315
    • Similar Issues:
    • Released As:
      2.320

      Description

      In all user configuration pages, (/user/<user-id>/configure),  "User Defined Time Zone" always shows logged-in user's timezone instead of selected user's timezone.

      An admin user can try to set a different timezone for any other user. Although it updates correctly in Jenkins,  the configuration page continues to show admin user's timezone.

       How to reproduce

      • Need 2 users. (At least one with admin privilege)
      • Log in as both users and change  "User Defined Time Zone" to two different values.
      • As the admin user,  go to the other user's configuration page.  It shows admin user's  timezone, instead of selected  user's.
      • Try to change the selected users' timezone to a different value.  Apply configuration.  And refresh the page.  It again shows the admin user's timezone. 
        (Actually the configuration was correctly updates, which could verified by logging in as other user)

        Attachments

          Issue Links

            Activity

            Show
            nom3ad Arun Mj added a comment - Fix:  https://github.com/jenkinsci/jenkins/pull/5801

              People

              Assignee:
              nom3ad Arun Mj
              Reporter:
              nom3ad Arun Mj
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: