← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1732941] Re: Instance resize crash when cookie "horizon_language" is set

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
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/1732941

Title:
  Instance resize crash when cookie "horizon_language" is set

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  Hello,

  I have this bug in the newton release, but it might have persisted in
  further releases.

  When the cookie "horizon_language" is set (after the user changed his
  options for instance), the instance resize workflow hang at the
  selection of the new flavor with a JSON.parse error.

  Looking at the code, horizon tries to access the value of the cookie with 
  *var lang = horizon.cookies.get('horizon_language');*

  However, since the cookie value is a simple string (ex : "en"), the
  function hangs when trying to convert it to JSON.

  The function getRaw() should be called instead.

  The file shoud be "horizon.quota.js" in both newton and following
  releases.

  Apologies if it was already fixed.

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


References