Skip to content

Uncaught exception in translator when publication isn't present in parsed record #72

@seasidesparrow

Description

@seasidesparrow

Under certain circumstances (e.g. IEEE) the method _get_publication in translator can be called without there being a publication key present in the parsed record. At L474

if publisher == 'Zenodo':
there is a check to see if publisher == "Zenodo", but in this case, publisher was never instantiated, which results in an exception.

Fix by adding publisher="" after L386

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions