[Bug]: not sure when a 404 should show up
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 42/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mozilla/addons
-
needs:info
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
[Task]: Add new confusable characters to AMO's custom mappingsPosiblemente ocupada @abhn la tomó hace 1 día. Abiertoneeds:info
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
[Task]: Add feedback form link to PinguinoPosiblemente ocupada @diox la tomó hace 2 días. Abiertocomponent:pinguino_devhub
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
[Bug]: Enterprise toggle option is shown in theme version uploadPosiblemente ocupada @eviljeff la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Todos los issues de mozilla/addons
Issues similares
-
triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 64/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
meetecho/juturna_nodes#43 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
ranxianglei/billion-context#7860 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
`RequestHandler.build_request_kwargs` drops empty request bodies such as `{}` or `""`Posiblemente ocupada @abhirajadhikary06 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
typesense/typesense-python#170 ·
Los mantenedores suelen responder en 1 día