You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@community.apache.org by "Zach Hoffman (Jira)" <ji...@apache.org> on 2021/11/23 01:15:00 UTC
[jira] [Commented] (COMDEV-432) home.apache.org phonebook: Could not find unix group: 'trafficcontrol'
[ https://issues.apache.org/jira/browse/COMDEV-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447713#comment-17447713 ]
Zach Hoffman commented on COMDEV-432:
-------------------------------------
Here is a patch:
{code:javascript}
Index: html/js/phonebook.js
===================================================================
--- html/js/phonebook.js (revision 1077397)
+++ html/js/phonebook.js (working copy)
@@ -616,7 +616,7 @@
// Show an LDAP Unix group
function showGroup(obj, name) {
- showJsonRoster(obj, 'group', ldapgroups, name)
+ showJsonRoster(obj, 'group', ldapprojects, name, 'members', true)
}
// Show an LDAP Commiteee group
@@ -696,7 +696,7 @@
function showUNIX(unix) {
var obj = document.getElementById('phonebook')
var id = 'group_' + unix
- if (unix in ldapgroups) {
+ if (unix in ldapprojects) {
obj.innerHTML = "<div id='" + id + "' class='group'><h3 onclick=\"showGroup(this.parentNode, '" + unix + "');\">" + unix + " (LDAP unix group)</h3></div>"
showGroup(document.getElementById(id), unix)
} else {
{code}
Repo is https://svn.apache.org/repos/infra/infrastructure/trunk/projects/home , but I cannot commit.
> home.apache.org phonebook: Could not find unix group: 'trafficcontrol'
> ----------------------------------------------------------------------
>
> Key: COMDEV-432
> URL: https://issues.apache.org/jira/browse/COMDEV-432
> Project: Community Development
> Issue Type: Task
> Components: PhoneBook
> Reporter: Zach Hoffman
> Priority: Major
>
> Steps to reproduce:
> 1. Go to [https://home.apache.org/committer-index.html]
> 2. Click on one of the `trafficcontrol` links
> 3. Arrive at [https://home.apache.org/phonebook.html?unix=trafficcontrol]
> 4. See message: Could not find unix group: 'trafficcontrol'
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@community.apache.org
For additional commands, e-mail: dev-help@community.apache.org