make copy and new version work for url files
@@ -455,6 +455,9 @@ def copy_resource_files_and_AVUs(src_res_id, dest_res_id):
# add the corresponding new resource file to the copy of that logical file
if f.has_logical_file:
tgt_logical_file = map_logical_files[f.logical_file]
+ if f.logical_file.extra_data:
+ tgt_logical_file.extra_data = copy.deepcopy(f.logical_file.extra_data)
+ tgt_logical_file.save()
tgt_logical_file.add_resource_file(new_resource_file)
if src_res.resource_type.lower() == "collectionresource":
