refreshing system generated relation metadata as part of bag download
@@ -215,6 +215,8 @@ def download(request, path, use_async=True, use_reverse_proxy=True,
# send signal for pre_check_bag_flag
# this generates metadata other than that generated by create_bag_files.
pre_check_bag_flag.send(sender=resource_cls, resource=res)
+ if res.update_relation_meta():
+ bag_modified = True
if bag_modified is None or bag_modified:
if use_async:
