Make WordPress Core

Opened 10 years ago

Last modified 5 years ago

#28989 new defect (bug)

AJAX in the media library sometimes fails to load data

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

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
10 years ago

  • Keywords reporter-feedback added

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

#2 @SergeyBiryukov
10 years ago

  • Component changed from General to Media
  • Version changed from trunk to 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
10 years ago

  • Milestone changed from Awaiting Review to Future Release

#4 @chriscct7
9 years ago

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