Skip to content

Commit

Permalink
do not fetch viaf.org datasets to determine type until it works again
Browse files Browse the repository at this point in the history
  • Loading branch information
Keelhaul committed Feb 4, 2025
1 parent b2e45a5 commit e29e8cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ public void setParamValue(int valueIndex, int paramIndex, List<String> inValues,
if (options != null && options.get(FIELD_NORM_TYPE) != null) {
// Try local NORM_TYPE value, if given
normDataType = MetadataTools.findMetadataGroupType(options.get(FIELD_NORM_TYPE));
} else {
} else if (!value.contains("viaf.org")) { // TODO remove this temporary fix eventually
// Fetch authority data record and determine norm data set type from gndspec field 075$b
Record authorityRecord = MetadataTools.getAuthorityDataRecord(value);
if (authorityRecord != null && !authorityRecord.getNormDataList().isEmpty()) {
Expand Down

0 comments on commit e29e8cb

Please sign in to comment.