Last modified: 2014-02-02 00:24:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62620, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60620 - Better error message needed when adding a member to a project he's already a member of
Better error message needed when adding a member to a project he's already a ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
OpenStackManager (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-30 16:16 UTC by Tim Landscheidt
Modified: 2014-02-02 00:24 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Landscheidt 2014-01-30 16:16:33 UTC
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.
Comment 1 Shreyas 2014-01-30 16:21:10 UTC
Could you specify the file that handles projects and project members
Comment 2 Tim Landscheidt 2014-02-02 00:24:55 UTC
(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().

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links