www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-11502) mlreq problems
Date Sat, 26 Mar 2016 12:59:25 GMT

    [ https://issues.apache.org/jira/browse/INFRA-11502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212996#comment-15212996
] 

Sebb commented on INFRA-11502:
------------------------------

OK, I see the problem.

The drop-down list is created from the following variable:

pmcs = ASF::Committee.list.map(&:mail_list)
pmcs.delete_if {|pmc| not lists.include? "#{pmc}-private"}

However the validation is done using the following:

if not ASF::Committee.list.map(&:name).include? @subdomain

The map of mail_list is not quite the same as the map of names:

community not in name
hc not in name
travel-assistance@apache.org not in name
whimsical not in name

comdev not in pmcs
httpcomponents not in pmcs
tac not in pmcs
whimsy not in pmcs

An obvious fix would be to change the validation to check if the subdomain is in pmcs.
However I think that would be redundant: AFAICT, it's only possible to select entries in pmcs
anyway.
There does not seem to be an option to enter arbitrary text.

I'm not sure what the check is trying to do, so I'm not sure what the fix should be.

> mlreq problems
> --------------
>
>                 Key: INFRA-11502
>                 URL: https://issues.apache.org/jira/browse/INFRA-11502
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Mailing Lists
>         Environment: https://infra.apache.org/officers/mlreq
>            Reporter: Sebb
>
> 1) The self-service app does not currently recognise whimsical
> 2) It does not appear to allow for the user to request that subscription requests must
be moderated



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message