Closed
Bug 776130
Opened 13 years ago
Closed 13 years ago
[traceback] DoesNotExist: Revision matching query does not exist.
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect)
developer.mozilla.org Graveyard
Wiki pages
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: lorchard)
References
()
Details
(Whiteboard: s=2012-08-01 p=2)
Sheppy's been deleting a few copies of this document, so now, accessing it returns a 500:
https://developer-new.mozilla.org/en-US/docs/Template:cssxref$json
Traceback (most recent call last):
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django-waffle/waffle/decorators.py", line 20, in _wrapped_view
return view(request, *args, **kwargs)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/views/decorators/http.py", line 37, in inner
return func(request, *args, **kwargs)
File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 161, in process
return func(request, *args, **kwargs)
File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 1279, in json_view
'summary': document.current_revision.summary,
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/db/models/fields/related.py", line 311, in __get__
rel_obj = rel_mgr.using(db).get(**params)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/db/models/query.py", line 347, in get
% self.model._meta.object_name)
DoesNotExist: Revision matching query does not exist.
Comment 1•13 years ago
|
||
I'm wondering if the template system is not adequately dealing with the case where revisions of a template are deleted.
Assignee | ||
Comment 2•13 years ago
|
||
I don't think it's related to templates / kumascript - kumascript generally can't/doesn't cause Python tracebacks.
It might be similar to bug 768524, though, and need some post-migration data tweaks
Updated•13 years ago
|
Whiteboard: s=2012-08-01
Assignee | ||
Comment 3•13 years ago
|
||
Hmm, and this $json URL is not actually giving me an ISE right now:
https://developer-new.mozilla.org/en-US/docs/Template:cssxref$json
Updated•13 years ago
|
Whiteboard: s=2012-08-01 → s=2012-08-01 p=2
Assignee | ||
Comment 4•13 years ago
|
||
I think this one is fixed. I found 58 documents with no current revision, and re-migrated them:
en-US/DOM/event.eventPhase
en-US/DOM/element.getElementsByTagName
es/Guía_JavaScript_1.5/Concepto_de_JavaScript
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Usando_una_función_constructora
zh-TW/Project:開始動手
es/Guía_JavaScript_1.5/Funciones_predefinidas/Función_isNaN
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Definiendo_propiedades_para_un_tipo_de_objeto
es/Guía_JavaScript_1.5/El_ejemplo_Employee
es/Guía_JavaScript_1.5/Objetos_base_predefinidos/Objeto_Date
es/Guía_JavaScript_1.5/Objetos_base_predefinidos/Objeto_Boolean
es/Guía_JavaScript_1.5/Objetos_base_predefinidos/Objeto_Array
es/Guía_JavaScript_1.5/Sentencia_condicional
es/Guía_JavaScript_1.5/Operadores/Operadores_de_asignación
es/Guía_JavaScript_1.5/Objetos_base_predefinidos/Objeto_Math
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Borrando_propiedades
es/Guía_JavaScript_1.5/Funciones_predefinidas/Función_isFinite
es/Guía_JavaScript_1.5/Crear_una_expresión_regular
es/Guía_JavaScript_1.5/Objetos_base_predefinidos/Objeto_Function
es/Guía_JavaScript_1.5/Usando_el_objeto_arguments
es/Guía_JavaScript_1.5/Expresiones_y_operadores
es/Talk:Guía_JavaScript_1.5
es/Guía_JavaScript_1.5/Objetos_base_predefinidos/Objeto_String
es/Guía_JavaScript_1.5/Sentencias_de_manipulación_de_objetos
es/Guía_JavaScript_1.5/El_ejemplo_Employee/Propiedades_de_objetos/Añadiendo_propiedades
es/Guía_JavaScript_1.5/El_ejemplo_Employee/Propiedades_de_objetos/Heredando_las_propiedades
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Definiendo_las_funciones_get_y_set
es/Referencia_de_JavaScript_1.5/Características_Despreciadas
es/Talk:Guía_JavaScript_1.5/Concepto_de_JavaScript
es/Guía_JavaScript_1.5/Concepto_General_de_LiveConnect/Conversiones_de_Tipo_de_Datos:
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Using_Object_Initializers
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Utilizando_Objetos_Iniciadores
es/Guía_JavaScript_1.5/El_ejemplo_Empleado
es/Guía_JavaScript_1.5/El_ejemplo_Employee/Creando_la_jerarquía
es/Guía_JavaScript_1.5/El_ejemplo_Employee/Propiedades_de_objetos
es/Guía_JavaScript_1.5/Concepto_General_de_LiveConnect/Conversiones_de_Tipo_de_Datos/Conversiones_de_Java_a_JavaScript
es/Guía_JavaScript_1.5/Trabajar_con_expresiones_regulares/Ejemplos_de_expresiones_regulares
es/Guía_JavaScript_1.5/Objetos_base_predefinidos/Objeto_RegExp
es/Guía_JavaScript_1.5/Objetos_base_predefinidos/Objeto_Number
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Usando_this_para_referirse_al_objeto
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Definiendo_los_métodos
es/Guía_JavaScript_1.5/Crear_nuevos_objetos/Indexando_las_propiedades_del_objeto
es/Guía_JavaScript_1.5/Crear_nuevos_objetos
es/Guía_JavaScript_1.5/Funciones_predefinidas/Función_eval
es/Guía_JavaScript_1.5/Llamando_Funciones
es/Guía_JavaScript_1.5/Definiendo_Funciones
es/Guía_JavaScript_1.5/Sentencias_de_manejo_de_excepciones/try...catch
es/Guía_JavaScript_1.5/Sentencias_de_manejo_de_excepciones/throw
es/Guía_JavaScript_1.5/Sentencias_de_manejo_de_excepciones
es/Guía_JavaScript_1.5/Trabajar_con_expresiones_regulares/Ejecutar_una_busqueda_global,_ignorar_mayusculas//minusculas,_y_considerar_entrada_multilinea
es/Guía_JavaScript_1.5/Escribir_un_patrón_de_expresión_regular
es/Guía_JavaScript_1.5/Expresiones
es/Guía_JavaScript_1.5/Características_generales_del_lenguaje
es/Guía_JavaScript_1.5/Sentencia_de_bloque
es/Guía_JavaScript_1.5/Funciones_predefinidas
es/Talk:Guía_JavaScript_1.5/Escribir_un_patrón_de_expresión_regular
es/Guía_JavaScript_1.5/Expresiones_Regulares
es/Guía_JavaScript_1.5/Operadores/Operadores_de_cadena_de_caracteres_(string)
es/Guía_JavaScript_1.5/Predefined_Functions/eval_Function
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lorchard
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•13 years ago
|
||
Verified FIXED on my original URL:
[11:51:02.376] GET https://developer-new.mozilla.org/en-US/docs/Template:cssxref$json [HTTP/1.1 200 OK 12ms]
and a random one:
https://developer-new.mozilla.org/es/docs/Gu%C3%ADa_JavaScript_1.5/Predefined_Functions/eval_Function
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Version: Kuma → unspecified
Updated•13 years ago
|
Component: Website → Landing pages
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•