Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#3414 closed defect (bug) (fixed)

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

Reported by: donncha's profile donncha Owned by: matt's profile 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 18 years ago.
Prototype that seems to work. Is compressed, but missing selector.js
selector.js (2.3 KB) - added by darkfate 18 years ago.
selector.js that was missing

Download all attachments as: .zip

Change History (10)

#1 @westi
18 years ago

This has also broken the dashboard for me in FF

#2 @foolswisdom
18 years ago

  • Description modified (diff)

#3 follow-up: @foolswisdom
18 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?

#4 in reply to: ↑ 3 @westi
18 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.

#5 @Viper007Bond
18 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

#6 @darkfate
18 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.

#7 @darkfate
18 years ago

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

@darkfate
18 years ago

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

@darkfate
18 years ago

selector.js that was missing

#8 @matt
18 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.