Page MenuHomePhabricator

Undefined index: user in ApiFeedWatchlist
Closed, ResolvedPublic

Description

Spotted in production:

5 Notice: Undefined index: user in /srv/mediawiki/php-1.26wmf12/includes/api/ApiFeedWatchlist.php on line 208

Event Timeline

demon raised the priority of this task from to Medium.
demon updated the task description. (Show Details)
demon subscribed.

list=watchlist does not return a user, if the user is revision deleted and the current user is not allow to see that information, that causing this notice

Change 224073 had a related patch set uploaded (by Anomie):
ApiFeedWatchlist: Handle revdel

https://gerrit.wikimedia.org/r/224073

Anomie set Security to None.
Anomie moved this task from Unsorted to Needs Review on the MediaWiki-Action-API board.

Change 224073 merged by jenkins-bot:
ApiFeedWatchlist: Handle revdel

https://gerrit.wikimedia.org/r/224073