Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[bug]: Project Views page crashes with "TypeError: n.find is not a function" (self-hosted Enterprise v3.1.1)

オープン
#9,640 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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:

  1. Open any project → click "Views" tab in sidebar
  2. 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-context calling .find() on a value that isn't an array — possibly a shape mismatch between what views-lite (returns raw array) and views (returns paginated {results: [...]}) endpoints return, if the sidebar merges/reads from both without normalizing.
主要言語
TypeScript
スター
61.1k
フォーク
6.1k
平均マージ
1日 18時間
マージ済み PR(30日)
84

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

makeplane/plane のほかの issue

makeplane/plane の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。