[Bug]: Text formatting and spacing lost after save

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
32/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
領域
backend

調査の方向性

The report shows only a screenshot and the sentence "should save spaces", so the first step is to reproduce: enter a description with deliberate runs of spaces in the add-on description form and save. Then trace where that field is cleaned or normalized on save — look for the serializer/validator handling the description text in the addons-server side — and compare the stored value with what the editor sends. It is done when the spacing round-trips unchanged and a regression test covers the case.

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

説明

component:pinguino_devhub needs:info
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

With Description field or any other field from https://github.com/mozilla/addons-server/pull/25709

no spaces zip
What did you expect to happen?

should save spaces

┆Issue is synchronized with this Jira Task

主要言語
Makefile
スター
134
フォーク
52
平均マージ
6日 22時間
マージ済み PR(30日)
6

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

mozilla/addons のほかの issue

mozilla/addons の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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