Currently the JSON form input validator only passes if the value is a
valid JSON string. This doesn't accout for cases where a paramater
doesn't need to be set. This patch relaxes the validation rule so it
also allows the value to be an empty string.
Reviewed: https:/ /review. openstack. org/403634 /git.openstack. org/cgit/ openstack/ tripleo- ui/commit/ ?id=537618fed2c 393cb1fbc0b52f4 0951dd66e3373c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 537618fed2c393c b1fbc0b52f40951 dd66e3373c
Author: Florian Fuchs <email address hidden>
Date: Mon Nov 28 12:25:48 2016 +0100
Relax JSON input validation
Currently the JSON form input validator only passes if the value is a
valid JSON string. This doesn't accout for cases where a paramater
doesn't need to be set. This patch relaxes the validation rule so it
also allows the value to be an empty string.
Change-Id: I4d135120ac3041 b223986eef8f54c 4de24f20379
Closes-Bug: #1645266