This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9a756e3f Allow for missing LDAP project group
9a756e3f is described below
commit 9a756e3ff9393ddce9d86791d9cf1543c5df69e5
Author: Sebb <[email protected]>
AuthorDate: Sun Aug 25 12:14:29 2024 +0100
Allow for missing LDAP project group
---
www/roster/models/committee.rb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/www/roster/models/committee.rb b/www/roster/models/committee.rb
index 50fc4b20..4f12c6ab 100644
--- a/www/roster/models/committee.rb
+++ b/www/roster/models/committee.rb
@@ -7,8 +7,7 @@ class Committee
return unless pmc.pmc? # Only show PMCs
owners = pmc.owners
committers = pmc.committers
- return if owners.empty? and committers.empty?
-
+ # These may be empty if there is no matching LDAP group, e.g. during
initial setup
ASF::Committee.load_committee_info
# We'll be needing the mail data later
ASF::Person.preload(['cn', 'mail', 'asf-altEmail', 'githubUsername'],
(owners + committers).uniq)