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

Creating segment overrides does not validate feature value language #4024

Closed
1 of 4 tasks
rolodato opened this issue May 24, 2024 · 1 comment
Closed
1 of 4 tasks
Labels
bug Something isn't working

Comments

@rolodato
Copy link
Member

How are you running Flagsmith

  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way (add details in description below)

Describe the bug

See steps below. This does not affect environment-level feature values or identity overrides.

Steps To Reproduce

  1. Edit any feature
  2. Create a segment override and select a language for the string value, like JSON
  3. Input invalid JSON and save the segment override
  4. The segment override is saved with invalid JSON

Expected behavior

Segment overrides should not allow saving feature values with invalid JSON/XML/TOML/YAML.

Screenshots

image

@rolodato rolodato added the bug Something isn't working label May 24, 2024
@rolodato
Copy link
Member Author

Fixed by #4043, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant