[wp-trac] [WordPress Trac] #39314: WP-API Backbone Client: buildModelGetter fails to reject deferred on fetch error
WordPress Trac
noreply at wordpress.org
Sat Dec 17 06:53:22 UTC 2016
#39314: WP-API Backbone Client: buildModelGetter fails to reject deferred on fetch
error
--------------------------+------------------------------
Reporter: westonruter | Owner: adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7.1
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Changes (by westonruter):
* keywords: => has-patch
* owner: => adamsilverstein
* version: => 4.7
* status: new => assigned
Comment:
@adamsilverstein I made this [attachment:39314.0.diff] patch off of `wp-
api.js`, though I know it's a compiled file. I know you'll know how to
apply it.
Also, any other cases of `fetch` being done in the Backbone client should
also ensure that there is a rejection of the deferred in the case of an
error as seen in this patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39314#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list