openziti / ziti-console

https://openziti.io
Apache License 2.0
23 stars 16 forks source link

Issues saving configuration when in the JSON view of config editor #414

Open rgallettonf opened 4 months ago

rgallettonf commented 4 months ago

When editing a configuration in the "JSON" view of the editor, you need to toggle back to the "Form" view before trying to save/persist changes.

qrkourier commented 3 weeks ago

I think I encountered this problem with both JSON/form options in 3.6.0, the outer toggle controls the body of the entire request, whereas the inner toggles whether JSON or form is used to define the data map inside the request body.

Peek 2024-10-24 13-16

qrkourier commented 3 weeks ago

In the attached session recording, I used the inner toggle to reveal the JSON widget for the config's data map. I pasted and edited it with valid JSON, but the data map is still undefined in the HTTP request:

It sends this, missing "data" I added with the inner JSON editor:

{"name":"catchall-dns-host","data":{},"configTypeId":"NH5p4FpGR","tags":{}}