Make WordPress Core

Opened 12 years ago

Last modified 7 years ago

#28989 new defect (bug)

AJAX in the media library sometimes fails to load data

Reported by: Looimaster Owned by:
Priority: normal Milestone:
Component: Media Version: 3.5
Severity: normal Keywords: needs-patch
Cc: Focuses: javascript, administration

Description

I added video and want to replace it now and since AJAX failed (only on this single page, there are no errors when I hit F12 and go to "Console" though) I have no other option then to refresh entire page:

http://i.gyazo.com/6379480b489e206bfe0b06b06288579b.png

I'm using 4.0-beta2-20140722. I think it wasn't happening that often in 3.9.1 but I may be wrong.

Change History (4)

#1 @helen
12 years ago

  • Keywords reporter-feedback added

Can you see if there are any errors in the PHP log? Is this still happening?

#2 @SergeyBiryukov
12 years ago

  • Component General → Media
  • Version trunk → 3.5

Sounds like an intermittent out of memory error.

We could probably add an error message and a reload button using jQuery ​.ajaxError() method, or by adding an error() callback or checking statusCode in the ​jQuery.ajax() call.

#3 @wonderboymusic
12 years ago

  • Milestone Awaiting Review → Future Release

#4 @chriscct7
11 years ago

  • Focuses javascript administration added
  • Keywords needs-patch added; reporter-feedback removed
Note: See TracTickets for help on using tickets.