Bug #10773
AttributeError: 'NoneType' object has no attribute 'url_name')
Start date:
29 Apr 2016
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
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>
Files
Associated revisions
History
Updated by Frédéric Péters almost 5 years ago
- File 0001-misc-protect-against-removed-categories-10773.patch 0001-misc-protect-against-removed-categories-10773.patch added
- Status changed from Nouveau to En cours
- Patch proposed changed from No to Yes
Updated by Frédéric Péters almost 5 years ago
- Status changed from En cours to 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)