← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1130610] Re: "SyntaxError: invalid increment operand" when parsing JavaScript using Firefox

 

This bug was fixed in the package horizon - 1:2013.1~rc1-0ubuntu1

---------------
horizon (1:2013.1~rc1-0ubuntu1) raring; urgency=low

  [ James Page ]
  * New upstream release candidate for Grizzly:
    - Recompress static JS and CSS and generate new manifest.json for
      offline compression.
  * d/watch: Update uversionmangle to deal with upstream versioning
    changes, remove tarballs.openstack.org.
  * d/control: Version python-compressor >= 1.2 (LP: #1130610).

  [ Adam Gandelman ]
  * debian/patches/ubuntu_local_settings.py: Refresh, specify memcache
    location as part of CACHES, as per upstream changes to example config.
 -- James Page <james.page@xxxxxxxxxx>   Wed, 20 Mar 2013 11:20:17 +0000

** Changed in: horizon (Ubuntu Raring)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1130610

Title:
  "SyntaxError: invalid increment operand" when parsing JavaScript using
  Firefox

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in “horizon” package in Ubuntu:
  Fix Released
Status in “python-django-compressor” package in Ubuntu:
  Fix Released
Status in “horizon” source package in Raring:
  Fix Released
Status in “python-django-compressor” source package in Raring:
  Fix Released

Bug description:
  OS: Ubuntu 12.04
  Packages: Ubuntu grizzly testing
  Browser: FireFox 19

  When loading JavaScript code FireFox getting this error:
  SyntaxError: invalid increment operand
  https://X.Y.Z.W/static/dashboard/js/57c506ad41ce.js
  Line 99
  ...ch(function(){this.id||(this.id="ui-id-"+++n)})},removeUniqueId:function(){retur...

  Error apears after logging into dashboard. In Chrome 24 all works
  correct.

  Little bit of investinagion:
  horizon/static/horizon/lib/jquery/jquery-ui-1.9.2.custom.min.js has '(this.id="ui-id-"+ ++n)})' and after compression it becames '(this.id="ui-id-"+++n)})'

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1130610/+subscriptions