Page MenuHomePhabricator

Better error message needed when adding a member to a project he's already a member of
Closed, DeclinedPublic

Description

If you try to add a member to a project he's already a member of (for example https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools&member=Tim+Landscheidt), the error message is very general: "Failed to add Tim Landscheidt to tools."

It would be nice if this could be more verbose in this (common) case, because otherwise, to confirm that this is the true cause of the error, you have to go to the project's page and search through all the members to see if he's already there.


Version: unspecified
Severity: enhancement

Details

Reference
bz60620

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:56 AM
bzimport set Reference to bz60620.

shreyasss94 wrote:

Could you specify the file that handles projects and project members

(In reply to comment #1)

Could you specify the file that handles projects and project members

I believe the error message is generated in special/SpecialNovaProject.php's tryAddMemberSubmit().

Aklapper triaged this task as Lowest priority.Feb 16 2015, 2:23 PM
Aklapper subscribed.
Reedy subscribed.

Functionality no longer part of the extension