aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce-task-projectanalysis
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2020-04-29 14:32:19 +0200
committersonartech <sonartech@sonarsource.com>2020-05-25 20:05:21 +0000
commit0e6876dcb3d5a4137408f102c750d2beaee9dab7 (patch)
tree35b9b2775346ffa18be696816747fb680e3409cf /server/sonar-ce-task-projectanalysis
parente20b54989f38d480f157dd36dd3b9d1fc4476813 (diff)
downloadsonarqube-0e6876dcb3d5a4137408f102c750d2beaee9dab7.tar.gz
sonarqube-0e6876dcb3d5a4137408f102c750d2beaee9dab7.zip
SONAR-13221 change ORGANIZATION_MEMBERS user_id FK to user_uuid
Diffstat (limited to 'server/sonar-ce-task-projectanalysis')
-rw-r--r--server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssignee.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssignee.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssignee.java
index 49e1dadb4f5..811bfd0b837 100644
--- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssignee.java
+++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssignee.java
@@ -81,6 +81,6 @@ public class DefaultAssignee {
}
private boolean isUserMemberOfOrganization(DbSession dbSession, UserDto user) {
- return dbClient.organizationMemberDao().select(dbSession, analysisMetadataHolder.getOrganization().getUuid(), user.getId()).isPresent();
+ return dbClient.organizationMemberDao().select(dbSession, analysisMetadataHolder.getOrganization().getUuid(), user.getUuid()).isPresent();
}
}