[BUG]: Malformed recent search data crashes the Home page

オープン
#350 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@GarvSaxena がすでに取り組んでいます。

2026年10月15日 から。

  • #358 @GarvSaxena による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
javascript
領域
frontend

調査の方向性

The payload names no source file. Start by finding where the Home page reads the oe_recent localStorage key and calls JSON.parse during render. Reproduce by setting that key to '{bad json}' and refreshing. Done means the page renders and falls back to an empty recent list when the value is invalid. Pull request #358 is already open against this issue, so check it before starting.

索引モデルが issue の本文から書いたものです。

説明

bug
Bug Description

The Home page crashes if the saved recent-search data in browser storage (oe_recent) is invalid JSON. The page parses this value while rendering without handling parse errors, so it may appear blank instead of loading.

Steps to Reproduce
  1. Open OrgExplorer in a browser.
  2. Open DevTools → Console.
  3. Run localStorage.setItem('oe_recent', '{bad json}').
  4. Refresh the page.
  5. Observe that the Home page fails to render and a JSON parsing error appears in the console.
Logs and Screenshots
Image
Environment Details

OS: windows 11

Impact

Low - Minor inconvenience

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
主要言語
JavaScript
スター
53
フォーク
187
平均マージ
18分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

AOSSIE-Org/OrgExplorer のほかの issue

AOSSIE-Org/OrgExplorer の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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