]> source.dussan.org Git - sonarqube.git/commit
SONAR-5830 Fix issue when same email is used by multiple users
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 12 Jan 2015 15:43:48 +0000 (16:43 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 12 Jan 2015 16:39:46 +0000 (17:39 +0100)
commitc173a87a511c1242e3c5c7ac6d0f637c7c2ad66b
tree54ee25ef8e7c38a248696d48f731735012335a50
parentdc4873dec54dc3e6bbccf1c0840aa11f69e61056
SONAR-5830 Fix issue when same email is used by multiple users
12 files changed:
server/sonar-server/src/main/java/org/sonar/server/user/UserUpdater.java
server/sonar-server/src/main/java/org/sonar/server/user/db/UserDao.java
server/sonar-server/src/main/java/org/sonar/server/user/index/UserIndex.java
server/sonar-server/src/test/java/org/sonar/server/user/UserUpdaterTest.java
server/sonar-server/src/test/java/org/sonar/server/user/db/UserDaoTest.java
server/sonar-server/src/test/java/org/sonar/server/user/index/UserIndexTest.java
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/fail_to_create_user_when_scm_account_is_already_used_by_many_user.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/user/db/UserDaoTest/select_nullable_by_scm_account_return_many_results_when_same_email_is_used_by_many_users.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/user/index/UserIndexTest/user3-with-same-email-as-user1.json [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/user/UserMapper.java
sonar-core/src/main/resources/org/sonar/core/user/UserMapper.xml
sonar-core/src/main/resources/org/sonar/l10n/core.properties