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 feature-specific segment exits feature details modal #5147

Closed
3 of 4 tasks
rolodato opened this issue Feb 20, 2025 · 0 comments · Fixed by #5148
Closed
3 of 4 tasks

Creating feature-specific segment exits feature details modal #5147

rolodato opened this issue Feb 20, 2025 · 0 comments · Fixed by #5148
Labels
bug Something isn't working front-end Issue related to the React Front End Dashboard

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

Creating a feature-specific segment closes the feature details modal with no warning. A JS error is thrown:

Uncaught TypeError: k.default.getIdentitySegments is not a function
    Ae CreateSegment.tsx:246
    Ae CreateSegment.tsx:245
    R CreateSegment.tsx:291
    React 2
    unstable_runWithPriority scheduler.production.min.js:19
    React 3
    F scheduler.production.min.js:17
    onmessage scheduler.production.min.js:14
CreateSegment.tsx:246:17
    Ae CreateSegment.tsx:246
    forEach self-hosted:157
    Ae CreateSegment.tsx:245
    R CreateSegment.tsx:291
    React 2
    unstable_runWithPriority scheduler.production.min.js:19
    React 3
    F scheduler.production.min.js:17
    onmessage scheduler.production.min.js:14

Steps To Reproduce

See video

create.feature.specific.segment.mov

Expected behavior

Work :)

Screenshots

No response

@rolodato rolodato added bug Something isn't working front-end Issue related to the React Front End Dashboard labels Feb 20, 2025
@kyle-ssg kyle-ssg linked a pull request Feb 20, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant