Bug #10773
AttributeError: 'NoneType' object has no attribute 'url_name')
Début:
29 avril 2016
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Exception: type = '<type 'exceptions.AttributeError'>', value = ''NoneType' object has no attribute 'url_name'' Stack trace (most recent call first): File "/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/modules/root.py", line 848, in _q_traverse 846 uri_rest = uri_rest[len(base_url):] 847 if f.category_id: > 848 return redirect('%s%s/%s' % (base_url, f.category.url_name, uri_rest)) 849 850 raise e locals: uri_rest = 'test-coffre-fort-1-copie/' e = TraversalError() f = <FormDef 'test coffre fort 1 (copie)' id:267> self = <modules.root.AlternateRootDirectory object at 0x3fc2b10> base_url = '/' path = ['test-coffre-fort-1-copie', ''] response = <qommon.http_response.HTTPResponse instance at 0x7fae4ce8ad40>
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 8 ans
- Fichier 0001-misc-protect-against-removed-categories-10773.patch 0001-misc-protect-against-removed-categories-10773.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a presque 8 ans
- Statut changé de En cours à Résolu (à déployer)
commit d71f475f7f6d5b8234abc47cfeff2027c7649f11 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Fri Apr 29 12:42:52 2016 +0200 misc: protect against removed categories (#10773)
misc: protect against removed categories (#10773)