Commit 2216aa39 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Add isIndexable as False for all sub-objects while building BM

parent f52b0995
......@@ -133,6 +133,10 @@ def _recursiveRemoveUid(obj):
"""
if getattr(aq_base(obj), 'uid', _MARKER) is not _MARKER:
obj.uid = None
# Make all objects and sub-object un-indexable
# XXX: Should be moved into another function or change the name and desc
# of this function
obj.isIndexable = ConstantGetter('isIndexable', value=False)
for subobj in obj.objectValues():
_recursiveRemoveUid(subobj)
......
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