Skip to content

[Bug]: Kickstart doesn't allow variable replacements for numeric values #3277

@voidmain

Description

@voidmain

What happened?

If you have a variable defined in a Kickstart file that is a numeric value, FusionAuth explodes when parsing the JSON. Here's a simple example:

{
  "variables": {
    "number": 42
  },
  "requests": [
    {
      "method": "POST",
      "url": "/foo/bar",
      "body": {
        "key": {
          "someProperty": #{number}
        }
      }
    }
  ]
}

Version

1.62.0

Affects Versions

All

Alternatives / Workarounds

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions