OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Throw error in Group#add_members! if call failed
Oliver Günther9b91112c362c
diff --git a/app/models/group.rb b/app/models/group.rbindex 208aa78c6dd..cbbc23732b1 100644--- a/app/models/group.rb+++ b/app/models/group.rb@@ -86,6 +86,9 @@ class Group < Principal::Groups::AddUsersService.new(self, current_user: User.current).call(user_ids)+ .tap do |result|+ raise "Failed to add to group #{result.message}" if result.failure?+ endendprivate