Commit 758eb58a authored by Yoshinori Okuji's avatar Yoshinori Okuji

Bug compatibility: hasProperty does not work as expected, so it is necessary...

Bug compatibility: hasProperty does not work as expected, so it is necessary to try to call getProperty.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8236 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 063156a3
...@@ -1788,7 +1788,7 @@ class ListBoxRendererLine: ...@@ -1788,7 +1788,7 @@ class ListBoxRendererLine:
original_value = getattr(obj, property_id, None) original_value = getattr(obj, property_id, None)
processed_value = original_value processed_value = original_value
if not callable(original_value) and obj.hasProperty(property_id): if not callable(original_value):
try: try:
original_value = obj.getProperty(property_id) original_value = obj.getProperty(property_id)
processed_value = original_value processed_value = original_value
......
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