WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#3414 closed defect (bug) (fixed)

custom image header cropper error "_163 has no properties" in prototype.compress.js

Reported by: donncha Owned by: matt
Milestone: 2.1 Priority: normal
Severity: blocker Version: 2.1
Component: Administration Keywords:
Focuses: Cc:

Description (last modified by foolswisdom)

The compressed Javscript files in revision [4566] caused the custom image header cropper on wordpress.com to break.
An error appeared in the console: "_163 has no properties" in prototype.compress.js

When I reverted script-loader.php back the cropper worked again. This may affect other JS apps using these JS files too.

Attachments (2)

prototype.compressed.js (20.4 KB) - added by darkfate 9 years ago.
Prototype that seems to work. Is compressed, but missing selector.js
selector.js (2.3 KB) - added by darkfate 9 years ago.
selector.js that was missing

Download all attachments as: .zip

Change History (10)

comment:1 @westi9 years ago

This has also broken the dashboard for me in FF

comment:2 @foolswisdom9 years ago

  • Description modified (diff)

comment:3 follow-up: @foolswisdom9 years ago

  • Summary changed from Compressed JS in #4566 breakage to custom image header cropper error "_163 has no properties" in prototype.compress.js

westi: FF 1.5 vs 2 ? symptoms? Isolated to prototype.compress.js?

comment:4 in reply to: ↑ 3 @westi9 years ago

Replying to foolswisdom:

westi: FF 1.5 vs 2 ? symptoms? Isolated to prototype.compress.js?

FF 1.5 (Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8) and FF 2.0 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0)

Not sure how isolated this is. Only notice it in the dashboard so far.

comment:5 @Viper007Bond9 years ago

  • Severity changed from major to blocker

The Dashboard seems to be the only page using the script, or at least with the problem.

Error: _163 has no properties
Source File: http://www.viper007bond.com/wordpress/wp-includes/js/prototype.compressed.js?ver=1.5.0
Line: 1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 ID:2006101023

comment:6 @darkfate9 years ago

Yeah, getting the same thing. Maybe you should switch back to 1.4 instead of using 1.5, which I can't seem to find anywhere on the site.

comment:7 @darkfate9 years ago

Also, the uncompressed version works. It must just be a whitespace issue.

@darkfate9 years ago

Prototype that seems to work. Is compressed, but missing selector.js

@darkfate9 years ago

selector.js that was missing

comment:8 @matt9 years ago

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

(In [4592]) Prototype compressed doesn't seem to be working out so well :/

Fixes #3414

Note: See TracTickets for help on using tickets.