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,8 +160,12 @@ class TestXHTML(ERP5TypeTestCase): ...@@ -160,8 +160,12 @@ class TestXHTML(ERP5TypeTestCase):
obj_metatypes=['ProxyField'], search_sub=1): obj_metatypes=['ProxyField'], search_sub=1):
template_field = field.getTemplateField(cache=False) template_field = field.getTemplateField(cache=False)
if template_field is None: if template_field is None:
error_list.append((skin_name, field_path, field.get_value('form_id'), # Base_viewRelatedObjectListBase (used for proxy listbox ids on
field.get_value('field_id'))) # 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')))
if error_list: if error_list:
message = '\nDead proxy field list\n' message = '\nDead proxy field list\n'
......
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