Commit fc2d07de authored by Vincent Pelletier's avatar Vincent Pelletier

erp5_full_text_mroonga_catalog: Consider Unauthorized indexations as successful.

This was the case before
  commit b41dc8e0
  Author: Vincent Pelletier <vincent@nexedi.com>
  Date:   Wed Sep 12 04:00:08 2018 +0200

      SQLCatalog_deferFullTextIndex{,Activity}: Use serialization_tag .
but I misread the code: when this exception triggered, document was neither
added in parameter_dict nor in failed_path_list. It should be now clearer.
parent 3b5a50a3
......@@ -19,7 +19,8 @@ for group_object in object_list:
except ConflictError:
raise
except Unauthorized: # should happen in tricky testERP5Catalog tests only
continue
# Fake activity success: if indexation cannot View document, ignore it.
group_object.result = None
except Exception, e:
group_object.raised()
else:
......
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