flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Creating a segment without setting its required metadatas fails silently

Open Zaimwa9 opened this issue 9 months ago • 2 comments

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

  1. Create a metadata field, required for segment
  2. Create a segment without filling it

Expected behavior

It should show an error banner with the reason of the error

Screenshots

No response

Zaimwa9 avatar May 14 '25 09:05 Zaimwa9

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

flagsmith[bot] avatar May 16 '25 20:05 flagsmith[bot]

The feature flag butter_bar was unlinked from the issue/PR

flagsmith[bot] avatar May 16 '25 20:05 flagsmith[bot]

Fixed in #6013

Zaimwa9 avatar Oct 20 '25 09:10 Zaimwa9