Commit ae59dc4f authored by Aurel's avatar Aurel

zsqlcatalog method is expecting a dict, not None

parent 8b63b07e
...@@ -683,6 +683,8 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -683,6 +683,8 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
predicate_property_dict = catalog.getPredicatePropertyDict(object) predicate_property_dict = catalog.getPredicatePropertyDict(object)
if predicate_property_dict is not None: if predicate_property_dict is not None:
w.predicate_property_dict = predicate_property_dict w.predicate_property_dict = predicate_property_dict
else:
w.predicate_property_dict = dict()
w.security_uid = security_uid w.security_uid = security_uid
(subject_set_uid, optimised_subject_list) = catalog.getSubjectSetUid(document_w) (subject_set_uid, optimised_subject_list) = catalog.getSubjectSetUid(document_w)
w.optimised_subject_list = optimised_subject_list w.optimised_subject_list = optimised_subject_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