flagsmith
flagsmith copied to clipboard
Creating a segment without setting its required metadatas fails silently
How are you running Flagsmith
- [ ] Self Hosted with Docker
- [ ] Self Hosted with Kubernetes
- [x] SaaS at flagsmith.com
- [ ] Some other way (add details in description below)
Describe the bug
Creating a segment without filling the required metadatas doesn't show the error. Nothing happens while it failed silently
Steps To Reproduce
- Create a metadata field, required for segment
- Create a segment without filling it
Expected behavior
It should show an error banner with the reason of the error
Screenshots
No response
Flagsmith feature linked: butter_bar
Default Values:
| Environment | Enabled | Value | Last Updated (UTC) |
|---|---|---|---|
| Production | ❌ Disabled | 2025-01-08 15:21:48 |
Segment org_butterbar values:
| Environment | Enabled | Value | Last Updated (UTC) |
|---|---|---|---|
| Production | ✅ Enabled | You are over your usage limits for your plan. Please upgrade to continue receiving the service. |
2025-01-08 15:21:48 |
| Staging | ❌ Disabled | ***Staging Environment*** |
2023-11-20 14:36:35 |
| Demo | ✅ Enabled | 2025-02-20 17:04:23 | |
| Self hosted defaults | ❌ Disabled | 2022-12-01 10:19:19 | |
| Demo2 | ❌ Disabled | 2025-02-14 14:07:47 |
The feature flag butter_bar was unlinked from the issue/PR
Fixed in #6013