fixed hopefully the last issue with migration command script
@@ -61,10 +61,12 @@ class Command(BaseCommand):
elif file_path.startswith(resource.resource_federation_path):
file_path = file_path[len(resource.resource_federation_path)+1:]
res_file.resource_file.name = file_path
+ res_file.fed_resource_file.name = ''
res_file.save()
path_migrated = True
else:
res_file.resource_file.name = file_path
+ res_file.fed_resource_file.name = ''
res_file.save()
path_migrated = True
print('fed_resource_file field does not contain absolute federation '
