[bug]: Project Views page crashes with "TypeError: n.find is not a function" (self-hosted Enterprise v3.1.1)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
store-context-D98Bm7Rj.js 内のサイドバーの計算済みパスから始め、GET .../views/?per_page=50 と GET .../views-lite/ で使用されるデータを追跡します。空のプロジェクトで再現し、返される構造を比較し、Project Views ページが TypeError や error boundary なしで開くことをもって完了を確認します。
索引モデルが issue の本文から書いたものです。
説明
Bug: Project "Views" page crashes with TypeError: n.find is not a function
Instance: self-hosted, Plane Enterprise Edition (Commercial), v3.1.1 (chart makeplane/plane-enterprise, latest available — confirmed both via /api/instances/ self-check and helm search repo)
Repro steps:
- Open any project → click "Views" tab in sidebar
- Page shows generic error boundary: "🚧 Looks like something went wrong!"
Environment: fresh project created via public API (POST .../projects/), 0 custom views defined, issue_views_view: true (default)
Console error:
TypeError: n.find is not a function
at store-context-D98Bm7Rj.js:7:934577
at store-context-D98Bm7Rj.js:1:7976
at vt (mobxreact.esm-DHqZ4TCz.js:3:5997)
at t.computeValue_ (mobxreact.esm-DHqZ4TCz.js:3:25706)
at t.trackAndCompute (mobxreact.esm-DHqZ4TCz.js:3:25551)
at t.get (mobxreact.esm-DHqZ4TCz.js:3:25163)
at store-context-D98Bm7Rj.js:1:7631
at sidebar-wrapper-GUitNyCP.js:1:14124
at Object.hs [as useMemo] (react-dom-CmQL-dVO.js:6:21173)
at e.useMemo (chunk-ZA36QIGN-b7JuA1sz.js:1:7330)
followed by React Router error boundary catch + duplicate React error #418/#423 (hydration mismatch, secondary symptom of the above).
Notes:
- Confirmed NOT a backend/API issue — every request in this flow (
GET .../views/?per_page=50,GET .../views-lite/) returns 200 with valid (empty) response. - Reproduces identically on both v3.1.0 and v3.1.1 (upgraded specifically to test — no change).
- Root cause looks like a MobX computed value in the sidebar's
store-contextcalling.find()on a value that isn't an array — possibly a shape mismatch between whatviews-lite(returns raw array) andviews(returns paginated{results: [...]}) endpoints return, if the sidebar merges/reads from both without normalizing.
- 主要言語
- TypeScript
- スター
- 61.1k
- フォーク
- 6.1k
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 84
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
makeplane/plane のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
makeplane/plane#10082 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: Email notifications show a broken avatar for users without a profile photo対応中かも @gurnoorpannu が 9 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
makeplane/plane#10009 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
🐛 Bug: Calendar work items cannot be opened on mobile対応中かも @pennnnnnnnnn が 11 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
[bug]: First day of the week section not translated when Idioma is Español対応中かも @deepcfr が 14 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
makeplane/plane#9967 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: First day of the week section not translated when Idioma is Español対応中かも @Indira-kumar が 12 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
makeplane/plane の issue をすべて見る
似ている issue
-
area: image-engine bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
snapotter-hq/SnapOtter#3885 ·
メンテナーはふだん 1 日以内に返信
-
Mend: dependency security vulnerability
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 3 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug P3 UI/UX
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
openclaw/openclaw#182077 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信