Page MenuHomePhabricator

[Regression] Pressing "Make Request" shouldn't make two requests to api.php
Closed, ResolvedPublic

Description

When ever we submit the request to the API using the [Make Request] button, two ajax queries are sent to api.php.


Version: unspecified
Severity: normal

Details

Reference
bz34790

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:10 AM
bzimport set Reference to bz34790.

Bisected to r109726 by Krinkle

(In reply to comment #0)

When ever we submit the request to the API using the [Make Request] button, two
ajax queries are sent to api.php.

2 identical requests?

Well two identical HTTP GET queries are made, something like:

GET api.php?action=foo&parameter1=bar
GET api.php?action=foo&parameter1=bar

So we are doubling the API bandwidth here :-)

(In reply to comment #3)

Well two identical HTTP GET queries are made, something like:

GET api.php?action=foo&parameter1=bar
GET api.php?action=foo&parameter1=bar

So we are doubling the API bandwidth here :-)

Ok, just wanting to make sure it wasn't some other "useful" but different side query :)

r112702 was troubling to subversion and got reverted.

Fix reapplied with r112721
Merged to 1.19wmf1 with r112723