Flagsmith / Flagsmith/flagsmith

Features list loops in loading forever

Open
#7,446 3 comments 0 reactions 0 assignees View on GitHub
bug front-end
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

Looks like https://github.com/Flagsmith/flagsmith/pull/7283 resurfacing?

This has been observed when the URL has an incorrect environment identifier, e.g.

```
http://app.flagsmith.com/project/1/environment/undefined/features
```

The "undefined" piece in the URL leads the UI to forever try to load stuff from some API endpoint that will never respond with a 200.

Users reported that this has happened by clicking "Features" from the sidebar. (!)

## Acceptance criteria

- [ ] The app redirects to the default environment (e.g. `/project/1/`) when attempting to load features leads to a 404 because of an incorrect environment identifier.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.