Commit ffc949ea authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Skip unrecognized descriptors when importing archives.

parent e58c47f5
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
* Medium changes * Medium changes
- Support quoted qualified search terms. - Support quoted qualified search terms.
- Skip unrecognized descriptors when importing archives rather than
aborting the entire import.
# Changes in version 4.2-1.6.1 - 2017-10-26 # Changes in version 4.2-1.6.1 - 2017-10-26
......
...@@ -170,9 +170,8 @@ public class DescriptorSource { ...@@ -170,9 +170,8 @@ public class DescriptorSource {
if (descriptorType == null) { if (descriptorType == null) {
log.warn("Unrecognized descriptor in " log.warn("Unrecognized descriptor in "
+ this.inArchiveDir.getAbsolutePath() + " with annotations " + this.inArchiveDir.getAbsolutePath() + " with annotations "
+ descriptor.getAnnotations() + ". Not reading any further" + descriptor.getAnnotations() + ". Skipping descriptor.");
+ "archived descriptors."); continue;
break;
} }
for (DescriptorListener descriptorListener : for (DescriptorListener descriptorListener :
this.descriptorListeners.get(descriptorType)) { this.descriptorListeners.get(descriptorType)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment