← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1500994] Re: Json parameter is converted from double quotes to single quotes - Error on launch

 

[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/1500994

Title:
  Json parameter is converted from double quotes to single quotes -
  Error on launch

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  I created a json parameter with a default value in my template:
  {"somekey" : "somevalue"}

  When I launch the stack in Horizon, it changes the json value to be:
  {u'somekey': u'somevalue'}

  But this is invalid, because when I try to launch it tells me:  Error:
  ERROR: Value must be valid JSON: Expecting property name enclosed in
  double quotes: line 1 column 2 (char 1)

  Resolution: Don't translate the quotes in the json parameter default
  value at launch.

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


References