Update user email address via API fails to change value
Summary
trying to update a users email address says it's completed but in fact is not. gitlab version 8.8.0
Steps to reproduce
making a put request to a user's profile to update the email. (using httpRequester)
http://gitlab.test.com/api/v3/users/145?email=someone%40test.com
adding the PRIVATE-TOKEN from my admin account.
Returns 200 OK, however in the result i still get the old email adress.
Expected behavior
address of the user being changed
Output of checks
Results of GitLab Application Check
Checking GitLab Shell ...
GitLab Shell version >= 2.7.2 ? ... OK (2.7.2)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
hooks directories in repos are links: ...
9/3 ... ok
2/4 ... repository is empty
11/9 ... ok
9/10 ... ok
11/11 ... ok
11/12 ... ok
9/13 ... ok
110/28 ... ok
9/30 ... ok
9/32 ... ok
11/33 ... ok
8/34 ... repository is empty
110/35 ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/var/opt/gitlab/git-data/repositories: OK
/var/opt/gitlab/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.8.24
Send ping to redis server: PONG
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
IMAP server credentials are correct? ... /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:3: warning: already initialized constant Gitlab::Redis::CACHE_NAMESPACE
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:3: warning: previous definition of CACHE_NAMESPACE was here
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:4: warning: already initialized constant Gitlab::Redis::SESSION_NAMESPACE
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:4: warning: previous definition of SESSION_NAMESPACE was here
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:5: warning: already initialized constant Gitlab::Redis::SIDEKIQ_NAMESPACE
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:5: warning: previous definition of SIDEKIQ_NAMESPACE was here
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:12: warning: already initialized constant Gitlab::Redis::URL_MUTEX
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:12: warning: previous definition of URL_MUTEX was here
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:13: warning: already initialized constant Gitlab::Redis::POOL_MUTEX
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/redis.rb:13: warning: previous definition of POOL_MUTEX was here
yes
Init.d configured correctly? ... skipped (omnibus-gitlab has no init script)
MailRoom running? ... can't check because of previous errors
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
9/3 ... yes
2/4 ... yes
11/9 ... yes
9/10 ... yes
11/11 ... yes
11/12 ... yes
9/13 ... yes
110/28 ... yes
9/30 ... yes
9/32 ... yes
11/33 ... yes
8/34 ... yes
110/35 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.1.8)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.7.4)
Active users: 151
Checking GitLab ... Finished
Results of GitLab Environment Info
System information
System: CentOS 6.4
Current User: git
Using RVM: no
Ruby Version: 2.1.8p440
Gem Version: 2.5.1
Bundler Version:1.10.6
Rake Version: 10.5.0
Sidekiq Version:4.1.2
GitLab information
Version: 8.8.0
Revision: d957dfb
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://gitlab.etc.com
HTTP Clone URL: http://gitlab.etc.com/some-group/some-project.git
SSH Clone URL: git@gitlab.etc.com:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: google_oauth2
GitLab Shell
Version: 2.7.2
Repositories: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
Edited by 🤖 GitLab Bot 🤖