[Bug]: Text formatting and spacing lost after save

Đang mở
#16,598 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
32/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Makefile
Star
134
Fork
52
Merge trung bình
6 ngày 18 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mozilla/addons

Tất cả issue của mozilla/addons

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.