Features list loops in loading forever

未关闭
#7,446 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Pallavikumarimdb 已经在做这个了。

开始于 2026年5月19日。

  • #7734 来自 @SketchRudy —— 已关闭,未合并

评估

难度
3/5
预计耗时
1-2 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
react
领域
frontend

调研方向

使用以 /environment/undefined/features 结尾的示例 URL 重现该问题,然后跟踪 Features 侧边栏导航以及保持加载状态的请求。确认无效 environment 标识符的行为,并使完成操作意味着在 features 加载返回 404 时重定向到默认 environment,例如 /project/1/。

由索引模型根据 Issue 内容生成。

描述

bug front-end

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.
主要语言
Python
星标
9.9k
派生
658
平均合并
1 天 15 小时
30 天内合并 PR
168

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Flagsmith/flagsmith 的其他 Issue

查看 Flagsmith/flagsmith 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。