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

Aperta
#16,522 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Makefile
Stelle
135
Fork
52
Merge medio
6g 18h
PR unite (30g)
7

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mozilla/addons

Tutte le issue di mozilla/addons

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.