← 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 python-django-compressor -
1.2-0ubuntu1

---------------
python-django-compressor (1.2-0ubuntu1) raring; urgency=low

  * New upstream release (LP: #1130610).
  * d/watch: Fix watch file inline with upstream project name.
 -- James Page <james.page@xxxxxxxxxx>   Fri, 15 Mar 2013 12:41:25 +0000

** Changed in: python-django-compressor (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:
  In Progress
Status in “python-django-compressor” package in Ubuntu:
  Fix Released
Status in “horizon” source package in Raring:
  In Progress
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