Page MenuHomePhabricator

TypeError: u.abort is not a function
Closed, ResolvedPublic


Our error logging has flagged a bug in our code, relating to the aborting of API requests. It's unlikely to be user-facing and is rare but should be understood and addressed. The error hints that we are trying to cancel an API request relating to the display of a page preview that has already completed, meaning we may be showing page previews that are not meant to be displayed. Fixing the error will also reduce noise in our error logging allowing us to see more critical errors clearly.*/logstash-2020.08.04/clienterror?id=AXO5iD43MQ_08tQaE0-T&_g=h@e3739c2

Developer notes

Possibly all that's needed here is a check for the abort method being present before calling.

Event Timeline

Jdlrobson triaged this task as Medium priority.Sep 1 2020, 5:01 PM
Jdlrobson updated the task description. (Show Details)

Change 624137 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/extensions/Popups@master] Fix TypeError: u.abort is not a function

Change 624137 merged by jenkins-bot:
[mediawiki/extensions/Popups@master] Fix TypeError: u.abort is not a function