yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39351
[Bug 1500994] [NEW] Json parameter is converted from double quotes to single quotes - Error on launch
Public bug reported:
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.
** Affects: horizon
Importance: Undecided
Status: New
** Tags: json parameter
--
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):
New
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
Follow ups