Commit 8ada3254 authored by Sebastien Robin's avatar Sebastien Robin

portal_domains was not defined


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5327 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed872cf3
...@@ -54,7 +54,7 @@ class PlanningBoxValidator(Validator.StringBaseValidator): ...@@ -54,7 +54,7 @@ class PlanningBoxValidator(Validator.StringBaseValidator):
space_line=field.get_value('space_line') space_line=field.get_value('space_line')
selection_name = field.get_value('selection_name') selection_name = field.get_value('selection_name')
sort = field.get_value('sort') sort = field.get_value('sort')
color_script=getattr(here,field.get_value('color'),None) color_script=getattr(here,field.get_value('color_script'),None)
height_header = field.get_value('height_header') height_header = field.get_value('height_header')
height_global_div = field.get_value('height_global_div') height_global_div = field.get_value('height_global_div')
height_axis_x=field.get_value('height_axis_x') height_axis_x=field.get_value('height_axis_x')
...@@ -342,6 +342,7 @@ def createLineObject(meta_types,selection,selection_name,field,REQUEST,list_meth ...@@ -342,6 +342,7 @@ def createLineObject(meta_types,selection,selection_name,field,REQUEST,list_meth
report_depth = REQUEST.get('report_depth', None) report_depth = REQUEST.get('report_depth', None)
is_report_opened = REQUEST.get('is_report_opened', selection.isReportOpened()) is_report_opened = REQUEST.get('is_report_opened', selection.isReportOpened())
portal_categories = getattr(form, 'portal_categories', None) portal_categories = getattr(form, 'portal_categories', None)
portal_domains = getattr(form, 'portal_domains', None)
if 'select_expression' in kw: if 'select_expression' in kw:
del kw['select_expression'] del kw['select_expression']
if hasattr(list_method, 'method_name'): if hasattr(list_method, 'method_name'):
...@@ -434,7 +435,6 @@ def createLineObject(meta_types,selection,selection_name,field,REQUEST,list_meth ...@@ -434,7 +435,6 @@ def createLineObject(meta_types,selection,selection_name,field,REQUEST,list_meth
# Filter folders if this is a parent tree # Filter folders if this is a parent tree
new_object_list = [] new_object_list = []
for o in object_list: for o in object_list:
#LOG('exception_uid_list', 0, '%s %s' % (o.getUid(), exception_uid_list))
if o.getUid() not in exception_uid_list: if o.getUid() not in exception_uid_list:
new_object_list.append(o) new_object_list.append(o)
......
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