Commit 818ef857 authored by Jérome Perrin's avatar Jérome Perrin

Base_viewRelatedObjectListBase/listbox has a non existing target on puropose



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30887 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5aa5642a
......@@ -160,6 +160,10 @@ class TestXHTML(ERP5TypeTestCase):
obj_metatypes=['ProxyField'], search_sub=1):
template_field = field.getTemplateField(cache=False)
if template_field is None:
# Base_viewRelatedObjectListBase (used for proxy listbox ids on
# relation fields) is an exception, the proxy field has no target
# by default.
if field_path != 'Base_viewRelatedObjectListBase/listbox':
error_list.append((skin_name, field_path, field.get_value('form_id'),
field.get_value('field_id')))
......
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