When importing an eprint (of type @TechReport) using the BibTeX plugin, monograph_type takes the value "technicalreport" instead of "technical_report" (the underscore is somehow omitted).
The following patch (by John Salter) makes it work again:
but the problem is that "technical_report" was changed into "technical_report" in a previous commit specifically: cf70ab4 (as John Salter mentioned in the tech-list: http://www.eprints.org/tech.php/21001.html). In this patch, a few other escaped underscores were changed to simple underscores as well, which might have caused analogous issues in other places too.
The text was updated successfully, but these errors were encountered:
When importing an eprint (of type @TechReport) using the BibTeX plugin, monograph_type takes the value "technicalreport" instead of "technical_report" (the underscore is somehow omitted).
The following patch (by John Salter) makes it work again:
diff -r 9bdc1512e990 perl_lib/EPrints/Plugin/Import/BibTeX.pm --- a/perl_lib/EPrints/Plugin/Import/BibTeX.pm Thu Oct 29 12:57:25 2015 +0200 +++ b/perl_lib/EPrints/Plugin/Import/BibTeX.pm Thu Oct 29 19:04:33 2015 +0200 @@ -340,7 +340,7 @@ if( $type eq "TECHREPORT" ) { $epdata->{type} = "monograph"; - $epdata->{monograph_type} = "technical_report"; + $epdata->{monograph_type} = "technical\\_report"; } if( $type eq "MASTERSTHESIS" ) {but the problem is that "technical_report" was changed into "technical_report" in a previous commit specifically: cf70ab4 (as John Salter mentioned in the tech-list: http://www.eprints.org/tech.php/21001.html). In this patch, a few other escaped underscores were changed to simple underscores as well, which might have caused analogous issues in other places too.
The text was updated successfully, but these errors were encountered: