WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 2 years ago

#28989 new defect (bug)

AJAX in the media library sometimes fails to load data

Reported by: Looimaster Owned by:
Milestone: Future Release 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
4 years ago

  • Keywords reporter-feedback added

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

#2 @SergeyBiryukov
4 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
4 years ago

  • Milestone changed from Awaiting Review to Future Release

#4 @chriscct7
2 years ago

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