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

Abierto
#16,522 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Makefile
Estrellas
135
Forks
52
Merge medio
6 d 18 h
PR fusionados (30 d)
7

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mozilla/addons

Todos los issues de mozilla/addons

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.