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

peer_reviewed_article: Featured image stored in the wrong place

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

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

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
javascript, xml
領域
backend

調査の方向性

Read ensureStructure and editView to trace where the featured image element is created and stored in the XML. The issue leaves open whether to migrate existing data on save, add schema versioning and migrations, or document the structure, so first investigate the data format and the crash context in #519. Done means choosing and implementing a consistent storage approach that handles existing articles.

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

説明

Impact: Low Level: Moderate Pagetype: Peer reviewed article Type: Bug Value: Coders

The ensureStructure method creates a FIELD_NAME_FEATURED_IMAGE below article/content, but the editView (and functions it calls) put the featured image directly below the root of the XML.

This means every article has an empty featured image element below context, and another one at the root, which potentially causes crashes (see #519), but also needs to be fixed somehow.

Maybe some migration approach (on save? Or we need to add schema versioning and active migrations). Or accept that this datastructure is weird and document it?

主要言語
JavaScript
スター
5
フォーク
9
平均マージ
18時間 7分
マージ済み PR(30日)
11

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

PlanBCode/hypha のほかの issue

PlanBCode/hypha の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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