Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#22410 closed defect (bug) (fixed)

Chrome Media Upload JS Bug

Reported by: bobbravo2's profile bobbravo2 Owned by: koopersmith's profile koopersmith
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords:
Focuses: Cc:

Description

This is on trunk revision 22542.

Using Chrome Version 24.0.1312.2 dev
Mac OS X 10.8.2

Steps to reproduce:

  1. Edit Post / Page
  2. Click new media upload button, select file
  3. JS Exception thrown Uncaught ReferenceError: dateFormatted is not defined

An additional side effect of this bug is using the drag & drop causes chrome to redirect to the image path.

Change History (5)

#1 @koopersmith
12 years ago

  • Keywords reporter-feedback added
  • Milestone changed from Awaiting Review to 3.5

Do you have the SCRIPT_DEBUG constant set to true? If not, your minified JavaScript files are likely out of date. To turn SCRIPT_DEBUG on, add the line define( "SCRIPT_DEBUG", true ) to your wp-config.php file.

If SCRIPT_DEBUG is turned on and the problem persists, please expand the error in the console and upload a screenshot. Thanks!

#2 follow-up: @trepmal
12 years ago

I can confirm that this bug exists with SCRIPT_DEBUG on.

Same revision, OS, and browser (nearly, I'm on 24.0.1312.2)

http://cdn.dropmark.com/17023/00f7f3e351801be68e581a0d07a51852344b52b7/2012-11-10_2039.png

Version 0, edited 12 years ago by trepmal (next)

#3 in reply to: ↑ 2 @koopersmith
12 years ago

Replying to trepmal:

I can confirm that this bug exists with SCRIPT_DEBUG on.

Same revision, OS, and browser (nearly, I'm on 24.0.1312.5)

Wonderful, that covers it. Thanks, trepmal.

#4 @koopersmith
12 years ago

  • Keywords reporter-feedback removed

#5 @koopersmith
12 years ago

  • Owner set to koopersmith
  • Resolution set to fixed
  • Status changed from new to closed

In 22543:

Media: Ensure variables in the attachment details template have defined defaults.

  • Adds styling to the upload progress bar in the attachment details template.
  • Defines the filename attribute when Plupload creates the client-side Attachment model.

fixes #22410, see #21390.

Note: See TracTickets for help on using tickets.