Page MenuHomePhabricator

Undefined index: user in ApiFeedWatchlist
Closed, ResolvedPublic


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 moved this task to Dec2019/1.35.wmf.10+ on the Wikimedia-production-error board.
demon added a subscriber: demon.

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

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

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