Description
Description
| Status | Subtype | Assigned | Task | |
|---|---|---|---|---|
| · · · | ||||
| Resolved | • TThoabala | T340470 Investigate: UserGroupManager::addUserToGroup should not called on temporary users from WMF deployed extensions | ||
| Resolved | KStoller-WMF | T326877 [Epic] Update Growth Team-owned products that may be affected by IP Masking | ||
| Resolved | • TThoabala | T340580 Ensure UserGroupManager::addUserToGroup is not called on temporary users from Echo extension | ||
| · · · |
Event Timeline
Comment Actions
The call here is made by the script that is used to generate sample notifications
Class: documentation: GenerateSampleNotifications
A maintenance script that generates sample notifications for testing purposes.
When running the script it also specifis that it should only be run on test wikis see code below and here
$this->output( "ONLY RUN ON TEST WIKIS\n" ); }
And finally when running the script with the command below
php maintenance/generateSampleNotifications.php --agent "*Unregistered 13" --user "*Unregistered 13" -o Admin }
It Errors out with the following:
UserGroupManager::addUserToGroup() cannot be called on a temporary user
This is the result of this patch
Given all this I think this can be marked as resolved.
Comment Actions
It Errors out with the following:
UserGroupManager::addUserToGroup() cannot be called on a temporary userThis is the result of this patch
This patch has been reverted but will generate another error soon.
One way or another, the error will come up as planned.