Commit e2ee7da0 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Remove _max_uid while calculating hash for BI

parent 9ea8e96c
...@@ -2154,8 +2154,10 @@ class TemplateTool (BaseTool): ...@@ -2154,8 +2154,10 @@ class TemplateTool (BaseTool):
# Calculate hash for value at ZODB # Calculate hash for value at ZODB
obj_sha = self.calculateComparableHash(obj, item.isProperty) obj_sha = self.calculateComparableHash(obj, item.isProperty)
# Calculate hash for value at property_value
item_sha = self.calculateComparableHash(value, item.isProperty) # Update hash for value at property_value
self.updateHash(item)
item_sha = item.getProperty('item_sha')
# Compare the hash with the item hash # Compare the hash with the item hash
if obj_sha != item_sha: if obj_sha != item_sha:
...@@ -2419,7 +2421,7 @@ class TemplateTool (BaseTool): ...@@ -2419,7 +2421,7 @@ class TemplateTool (BaseTool):
'last_id', 'uid', '_mt_index', '_count', '_tree', 'last_id', 'uid', '_mt_index', '_count', '_tree',
'__ac_local_roles__', '__ac_local_roles_group_id_dict__', '__ac_local_roles__', '__ac_local_roles_group_id_dict__',
'workflow_history', 'subject_set_uid_dict', 'security_uid_dict', 'workflow_history', 'subject_set_uid_dict', 'security_uid_dict',
'filter_dict'} 'filter_dict', '_max_uid'}
attr_set.update(('isIndexable',)) attr_set.update(('isIndexable',))
......
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