Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: JSON import issue #3636

Closed
1 task done
kvnhmn opened this issue Nov 21, 2024 · 1 comment · Fixed by #3639
Closed
1 task done

[Bug]: JSON import issue #3636

kvnhmn opened this issue Nov 21, 2024 · 1 comment · Fixed by #3639
Labels

Comments

@kvnhmn
Copy link
Contributor

kvnhmn commented Nov 21, 2024

Bug Description

If you import an exported .json. You'll get an error, because of the first line in the json, which is a comment.

Version Info

v1.51.0

Search

  • I searched for other open and closed issues before opening this

Steps to Reproduce

Export Flags as JSON then import it

Expected Behavior

No response

Additional Context

No response

@erka
Copy link
Contributor

erka commented Nov 21, 2024

This is a minimal backup file which allows to reproduce the issue

# exported by Flipt (v1.51.1) on 2024-11-21T14:37:32Z

{"version":"1.4","namespace":{"key":"default","name":"Default","description":"Default namespace"},"flags":[{"key":"flag1","name":"flag1","type":"VARIANT_FLAG_TYPE","enabled":false}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants