NationalSecurityAgency / skills-service

SkillTree is a micro-learning gamification platform supporting the rapid integration of a gamified tool training approach into new and existing applications.
https://skilltreeplatform.dev
Apache License 2.0
413 stars 96 forks source link

Validation for enabling project community could fail when an Admin Group is assigned to it #2986

Open sudo-may opened 1 day ago

sudo-may commented 1 day ago

The follow error happens for /admin/projects/<project-id>/validateEnablingCommunity endpoint:

org.springframework.dao.IncorrectResultSizeDataAccessException: Query did not return a unique result: 2 results were returned
    at skills.services.admin.UserCommunityService.validateProjectForCommunity(UserCommunityService.groovy:167) ~[!/:3.2.0-SNAPSHOT]
rmmayo commented 1 day ago

PR: #2989