Commit 839e69d9 authored by Vincent Pelletier's avatar Vincent Pelletier

ERP5Catalog: Make it easier to debug wrapObjectList.

parent 8cf3fc36
...@@ -868,6 +868,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -868,6 +868,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
group_and_user_id_set = set() group_and_user_id_set = set()
wrapper_list = [] wrapper_list = []
for object_value in object_value_list: for object_value in object_value_list:
__traceback_info__ = object_value
document_object = aq_inner(object_value) document_object = aq_inner(object_value)
w = IndexableObjectWrapper(document_object, user_set, catalog_role_set) w = IndexableObjectWrapper(document_object, user_set, catalog_role_set)
w.predicate_property_dict = getPredicatePropertyDict(object_value) or {} w.predicate_property_dict = getPredicatePropertyDict(object_value) or {}
......
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