[wp-trac] [WordPress Trac] #24758: Revisions needs to gracefully handle AJAX failures.

WordPress Trac noreply at wordpress.org
Thu Jul 18 16:35:19 UTC 2013


#24758: Revisions needs to gracefully handle AJAX failures.
------------------------------+--------------------------
 Reporter:  markjaquith       |       Owner:  markjaquith
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.6
Component:  Revisions         |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+--------------------------
Changes (by markjaquith):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"24732"]:
 {{{
 #!CommitTicketReference repository="" revision="24732"
 Revisions: Better error handling.

 * Shows an error message if the current diff can't be loaded.
 * For bulk pre-loading, catches errors, and cuts subsequent requests in
 half, until eventually giving up.
 * Some CSS fixes related to this, and the loading spinner.
 * `wp.revisions.loadAll()` now returns a promise representing whether or
 not all revisions could be loaded.

 Fixes #24758.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24758#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list