Commit 9cd07fda authored by Gerrit Hübbers's avatar Gerrit Hübbers 🃏
Browse files

Fix ISSN metadatum key

parent 094de6b9
......@@ -148,7 +148,7 @@ public class BibtexBundlesStreamSource implements BundlesStreamSource {
case "pages" : fieldTypeMetadata = getPageMetadatum(cleanFieldValue); break;
case "volume" : fieldTypeMetadata = getMetadatum("dc.source.volume", cleanFieldValue); break;
case "number" : fieldTypeMetadata = getMetadatum("dc.source.issue", cleanFieldValue); break;
case "issn" : fieldTypeMetadata = getMetadatum("dc.source.issn", cleanFieldValue); break;
case "issn" : fieldTypeMetadata = getMetadatum("dc.identifier.issn", cleanFieldValue); break;
case "journal" : fieldTypeMetadata = getMetadatum("dc.source.journal", cleanFieldValue); break;
case "doi" : fieldTypeMetadata = getMetadatum("dc.identifier.doi", cleanFieldValue); break;
case "urn" : fieldTypeMetadata = getMetadatum("dc.identifier.urn", cleanFieldValue); break;
......
......@@ -63,7 +63,7 @@ public class BibtexBundlesStreamSourceTest {
assertTrue(metadata.contains( new SimpleMetadatum("dc.source.pageinfo", "89-122" ) ) );
assertTrue(metadata.contains( new SimpleMetadatum("dc.source.volume", "7" ) ) );
assertTrue(metadata.contains( new SimpleMetadatum("dc.source.issue", "1" ) ) );
assertTrue(metadata.contains( new SimpleMetadatum("dc.source.issn", "2190-4936" ) ) );
assertTrue(metadata.contains( new SimpleMetadatum("dc.identifier.issn", "2190-4936" ) ) );
assertTrue(metadata.contains( new SimpleMetadatum("dc.source.journal", "Methods, data, analyses : a journal for quantitative methods and survey methodology (mda)" ) ) );
assertTrue(metadata.contains( new SimpleMetadatum("dc.identifier.doi", "10.12758/mda.2013.004" ) ) );
assertTrue(metadata.contains( ReviewStatus.PEER_REVIEWED.getInternalIdentifierReviewMetadatum() ) );
......
Markdown is supported
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