Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-4503

Invalid json being set on propertyConstraints

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Montreal Release
    • London Release
    • None
    • None

      When adding a constraint to a VFC template in SDC through an API call causes all the properties of the VFC to disappear if the propertConstraints is invalid json. e.g.

      {
          "test_constraint": {
              "type": "string",
              "constraints": [
                  {
                      "equal": "15"
                  }
              ],
              "propertyConstraints": [
                  "{'equal':'15'}"
              ],
              "name": "test_constraint"
          }
      }

            JvD_Ericsson JEFF VAN DAM
            JvD_Ericsson JEFF VAN DAM
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: