Skip to content

Commit ec56845

Browse files
committed
otheridentifier :unav bug
1 parent 70b6e26 commit ec56845

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/edu/harvard/iq/dataverse/pidproviders/doi/XmlMetadataTemplate.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,10 +927,9 @@ private void writeAlternateIdentifiers(XMLStreamWriter xmlw, DvObject dvObject)
927927
}
928928

929929
for (DatasetFieldCompoundValue otherIdentifier : otherIdentifiers) {
930-
String identifierType = null;
930+
String identifierType = ":unav";;
931931
String identifier = null;
932932
for (DatasetField subField : otherIdentifier.getChildDatasetFields()) {
933-
identifierType = ":unav";
934933
switch (subField.getDatasetFieldType().getName()) {
935934
case DatasetFieldConstant.otherIdAgency:
936935
identifierType = subField.getValue();

0 commit comments

Comments
 (0)