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 created this task.Jul 9 2015, 5:14 PM
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.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 9 2015, 5:14 PM

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 claimed this task.Jul 10 2015, 2:10 PM
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

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

Umherirrender closed this task as Resolved.Jul 10 2015, 6:18 PM