[Bug]: not sure when a 404 should show up
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 42/100
Direzione di ricerca
The 404-versus-'We couldn't find that add-on' behaviour is reported on the developer hub edit and versions pages, so start with the views that serve /developers/addon/<slug>/edit and /versions and the lookup that raises when the slug is missing or not owned by the user. Reproduce with a nonexistent slug and with an add-on owned by another user, then confirm which of the two should return a 404. Done when both scenarios return the agreed status code in the relevant tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is there an existing issue for this?
- I have searched the existing issues
What happened?
From https://github.com/mozilla/addons/issues/16528#issuecomment-7036080527
Scenarios:
As a developer I am accessing a url - the slug does not exist
https://addons-dev.allizom.org/en-US/developers/addon/a-webextension-in-nov/edit
https://addons-dev.allizom.org/en-US/developers/addon/a-webextension-in-nov/versions
I see "We couldn't find that add-on." ❓Legacy dev hub throws a 404.
As an admin I try to access versions or edit page to an addon that does not belong to me
https://github.com/mozilla/addons/issues/16549#issuecomment-7098146916
What did you expect to happen?
If these should throw a 404
┆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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mozilla/addons
-
needs:info
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
[Task]: Add new confusable characters to AMO's custom mappingsForse già presa @abhn l’ha presa 1 giorno fa. Apertaneeds:info
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
[Task]: Add feedback form link to PinguinoForse già presa @diox l’ha presa 2 giorni fa. Apertacomponent:pinguino_devhub
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
[Bug]: Enterprise toggle option is shown in theme version uploadForse già presa @eviljeff l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Tutte le issue di mozilla/addons
Issue simili
-
triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 64/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
meetecho/juturna_nodes#43 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
ranxianglei/billion-context#7860 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
`RequestHandler.build_request_kwargs` drops empty request bodies such as `{}` or `""`Forse già presa @abhirajadhikary06 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
typesense/typesense-python#170 ·
I maintainer di solito rispondono entro 1 giorno