hashicorp / vault

A tool for secrets management, encryption as a service, and privileged access management
https://www.vaultproject.io/
Other
30.13k stars 4.13k forks source link

Fix #26634 not work in Vault 1.17.0 #27524

Closed karabanov closed 5 days ago

karabanov commented 4 weeks ago

Describe the bug Try to add new line in kv2 json editor and the pointer goes to start.

To Reproduce

  1. Open any kv2 json.
  2. Click on Create New Version
  3. Put the pointer in some place in json
  4. Press Enter to add new line and the pointer goes to start

Expected behavior New line successfully added.

Environment:

Additional context This bug was fixed in #26634, but it is still reproducible.

karabanov commented 4 weeks ago

vault_1.17.0_json_editor_bug.webm

hashishaw commented 5 days ago

This issue should now be fully fixed with this PR: https://github.com/hashicorp/vault/pull/27569

Thanks!