Confusing "You cannot submit this type of add-on" validation error when using `experiment` properties
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- backend
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Makefile
- Stars
- 135
- Forks
- 52
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/addons
-
needs:info
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
[Task]: Add new confusable characters to AMO's custom mappingsPossibly taken @abhn claimed this 1 day ago. Openneeds:info
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
[Task]: Add feedback form link to PinguinoPossibly taken @diox claimed this 2 days ago. Opencomponent:pinguino_devhub
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
[Bug]: Enterprise toggle option is shown in theme version uploadPossibly taken @eviljeff claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Similar issues
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
meetecho/juturna_nodes#43 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
ranxianglei/billion-context#7860 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
`RequestHandler.build_request_kwargs` drops empty request bodies such as `{}` or `""`Possibly taken @abhirajadhikary06 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
typesense/typesense-python#170 ·
Maintainers usually reply within 1 day