default full_paths to empty Map
@@ -908,7 +908,7 @@ def resource_file_add_process(resource, files, user, extract_metadata=False,
if __debug__:
assert(isinstance(source_names, list))
folder = kwargs.pop('folder', None)
- full_paths = kwargs.pop('full_paths', None)
+ full_paths = kwargs.pop('full_paths', {})
auto_aggregate = kwargs.pop('auto_aggregate', True)
resource_file_objects = add_resource_files(resource.short_id, *files, folder=folder,
source_names=source_names, full_paths=full_paths,
