Commit 8ac0c975 authored by Jérome Perrin's avatar Jérome Perrin

CMFCategory: don't tolerate errors calling display_id in Renderer

This just hides issues.
parent eef80b9e
......@@ -171,14 +171,7 @@ class Renderer(Filter):
if self.display_method is not None:
label = self.display_method(value)
elif self.display_id is not None:
try:
label = value.getProperty(self.display_id)
except ConflictError:
raise
except:
LOG('CMFCategory', PROBLEM, 'Renderer was unable to call %s on %s'
% (self.display_id, value.getRelativeUrl()))
label = None
label = value.getProperty(self.display_id)
else:
label = None
# Get the url.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment