← 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 is caused by an outdated version of django compressor in the
ubuntu apt repo. It should not be fixed in Horizon master.

** Also affects: horizon (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: horizon
   Importance: High => Undecided

** Changed in: horizon
       Status: In Progress => Invalid

** Changed in: horizon
    Milestone: grizzly-rc1 => None

-- 
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:
  New

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