Confusing "You cannot submit this type of add-on" validation error when using `experiment` properties

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
backend

調査の方向性

Start by comparing the new version upload flow with the add-on validation page; the report says the same theme passes validation but upload reports an error that is absent from its details. Trace where the upload flow produces “You cannot submit this type of add-on” and check the associated tests. Done when a reproducible upload case reports the correct result and the tests cover the discrepancy.

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

説明

I created version 5 of my own Firefox theme and tried to upload it to AMO as a new version. The linter found an error (detailed report showed the icon wasn't square), so I fixed that and reuploaded. It still said it found 1 error, but clicking on the details link yielded a details page with zero errors and only green checkmarks on it.

https://github.com/user-attachments/assets/12c80bb7-f76c-4aa5-bdd9-7febc8770bd6

After that I even reloaded the upload page and changed the file name and the version number in the manifest to see if it might be a cache thing, but to no avail. Still rejected with one error, which doesn't show up in the detailed report.

The same file that got rejected on the new version page passed the test on https://addons.mozilla.org/sv-SE/developers/addon/validate:

https://github.com/user-attachments/assets/59304ea0-7561-4405-9234-5e93b402d525

┆Issue is synchronized with this Jira Task

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

環境構築

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

はじめの一歩

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

mozilla/addons のほかの issue

mozilla/addons の issue をすべて見る

似ている issue

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

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

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