Skip to content

Invalid JSON is saved as empty string #5238

@AntoineLemaire

Description

@AntoineLemaire

Describe the bug
When I have a JSON value, and I do a typo inside, when I save it, it remove everything and save an empty string

To Reproduce
RedisDesktopManager

Expected behavior
have a confirm message, or something saying that JSON is invalid before erase everything.
Or at least same the invalid JSON

Environment (please complete the following information):

  • OS & version: Linux Mint 20.2
  • Redis-Server version : 4.0.14
  • RedisDesktopManager version : 2022.2+c787819a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions