Commit 490f1f51 authored by Rafael Monnerat's avatar Rafael Monnerat

Fixed one inconsistence related to Domain. 



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16563 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 06bf7dac
......@@ -1347,11 +1347,10 @@ class BasicStructure:
category_obj = domain_obj.getMembershipCriterionCategory()
for bc in domain_obj.getMembershipCriterionBaseCategoryList():
if (category_obj is not None) and (bc is not None):
category_value = category_obj.getRelativeUrl()
new_object_list.extend([ s_obj for s_obj in build_object_list \
if s_obj._getDefaultAcquiredCategoryMembership(bc) == category_value])
if s_obj._getDefaultAcquiredCategoryMembership(bc) == category_obj])
sec_new_object_list.extend([ s_obj for s_obj in build_sec_layer_object_list \
if s_obj._getDefaultAcquiredCategoryMembership(bc) == category_value])
if s_obj._getDefaultAcquiredCategoryMembership(bc) == category_obj])
object_list = new_object_list
sec_layer_object_list = sec_new_object_list
......
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