Last modified: 2014-09-05 17:21:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67442, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65442 - Aborted mediawiki.api requests are logged as errors ("mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"})
Aborted mediawiki.api requests are logged as errors ("mw.Api error: " "http" ...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.24rc
All All
: Unprioritized normal (vote)
: 1.24.0 release
Assigned To: Nobody - You can work on this!
: javascript
Depends on:
Blocks: 68860
  Show dependency treegraph
 
Reported: 2014-05-17 21:54 UTC by Helder
Modified: 2014-09-05 17:21 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2014-05-17 21:54:10 UTC
I'm getting a lot of warnings like this
"mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"}
in the console. I believe it comes from this line:
mw.popups.render.currentRequest.abort();
of ext.popups.renderer.js.
Comment 1 Helder 2014-05-17 21:57:25 UTC
PS: I was on page
https://pt.wikipedia.org/w/index.php?title=L%C3%B3gica_proposicional&action=edit
when I noticed these.
Comment 2 Krinkle 2014-05-19 18:23:48 UTC
This is just debugging information to let you know a request was aborted. This is generally a good thing (e.g. if a request is no longer needed because of new information and the firing of a new request, the previous one should be aborted for efficiency).

Because the information was next to useless, it was removed from mediawiki.api.js in I7797c833745b4. The aborting still happens though, as it should.

If this bug is only about that message and under the assumption it is bad and needs to be dealt with, then this bug should be closed as invalid.
Comment 3 Prateek Saxena 2014-05-24 08:52:34 UTC
Helder, are these being generated on links that shouldn't have Hovercards to begin with. If no, lets mark this invalid. If yes, are such links documented on some other bug? If yes, let close this. If not, could you please share more details?
Comment 4 Helder 2014-05-24 14:12:03 UTC
I'm not seeing these anymore.

But I do find one more link which should probably not have Popups: the cancel link below the editbox.
Comment 5 Prateek Saxena 2014-06-03 10:16:18 UTC
Is it alright to ignore the ".oo-ui-buttonedElement-button" class to resolve the Cancel button issue or some other approach needs to be taken for it?
Comment 6 Gerrit Notification Bot 2014-06-04 04:16:58 UTC
Change 137269 had a related patch set uploaded by Prtksxna:
core: Ignore '.oo-ui-buttonedElement-button' links

https://gerrit.wikimedia.org/r/137269
Comment 7 Helder 2014-08-01 15:40:14 UTC
For some reason the code variable used in this test
https://gerrit.wikimedia.org/r/#/c/132004/1/resources/src/mediawiki.api/mediawiki.api.js,unified
does not contains 'abort' (anymore?). Its value is 'http' and the 'abort' is actually on details.exception and details.textStatus.

These logs causes a lot of undesirable noise while debugging other things in a page with many links (such as the Watchlist).
Comment 8 Gerrit Notification Bot 2014-08-21 13:09:55 UTC
Change 137269 merged by jenkins-bot:
core: Ignore '.oo-ui-buttonedElement-button' links

https://gerrit.wikimedia.org/r/137269
Comment 9 Bartosz Dziewoński 2014-08-30 15:21:42 UTC
Possibly due to jQuery upgrade?
Comment 10 Gerrit Notification Bot 2014-08-30 15:52:29 UTC
Change 157350 had a related patch set uploaded by Bartosz Dziewoński:
mediawiki.api: Actually don't log request error 'abort'

https://gerrit.wikimedia.org/r/157350
Comment 11 Gerrit Notification Bot 2014-09-05 17:21:05 UTC
Change 157350 merged by jenkins-bot:
mediawiki.api: Actually don't log request error 'abort'

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links