remove db refresh, not using it anymore and it breaks some auto agg functionality
@@ -1091,5 +1091,3 @@ def check_aggregations(resource, folders, res_files):
if not res_file.has_logical_file or res_file.logical_file.is_fileset:
set_logical_file_type(res=resource, user=None, file_id=res_file.pk,
fail_feedback=False)
- # refresh object to include new aggreagation
- res_file.refresh_from_db()
