EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05035
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Possible importing BibTeX bug in monograph
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Possible importing BibTeX bug in monograph
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Thu, 29 Oct 2015 16:37:11 +0000
The default EPrints config: https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/cfg.d/eprint_fields.pl#L105-L118 uses ' technical_report', not ' technicalreport' - which is the root of this issue. These lines: https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Plugin/Import/BibTeX.pm#L340-L344 should be mapping that value OK. It looks like somehow, the underscore is being stripped out? In this commit: https://github.com/eprints/eprints/commit/cf70ab4ee1ce48e88c2eaee2a2b369b331ce4de9 the underscores were escaped with a '\\'. I'm not sure why - or whey this was removed. Can you try altering this: $epdata->{monograph_type} = "technical_report"; to this: $epdata->{monograph_type} = "technical\\_report"; to see if it helps? NB This is guess-work. I've got a 3.3.10 repo to tinker with at the moment - before this change was made. Cheers, John -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Thomas Lauke Sent: 29 October 2015 16:08 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Possible importing BibTeX bug in monograph Hi George, > you must see it's empty. no, it's filled :) Please check your XML export carefully (not in the morning ;)): It should contain the language independent <monograph_type>technicalreport</monograph_type> ...!? > If you confirm this (or anybody else), I'll file a bug report to EPrints the one and only thing that's missing now: <EprintsPath>/archives/<repoID>/cfg/lang/en/phrases/local.xml should contain a line with <epp:phrase id="eprint_fieldopt_monograph_type_technicalreport" ref="Technical report" /> Probably all other options are missing also ...!? This line should be integrated into (maybe implied by these lines ...) <EprintsPath>/lib/lang/en/phrases/system.xml. Hth TL BTW: Some additional lines missing in <EprintsPath>/lib/lang/en/phrases/system.xml follows: eprint_fieldhelp_editors (en) at line 477 in /usr/share/eprints3/perl_lib/EPrints/MetaField.pm <epp:phrase id="eprint_fieldhelp_editors">Specify the responsible person for publication.</epp:phrase> lib/searchfield:help_counter (en) at line 757 in /usr/share/eprints3/perl_lib/EPrints/Search/Field.pm <epp:phrase id="lib/searchfield:help_counter">Enter a specific number or a range (Min.., Min..Max, ..Max) for the unique database identifier.</epp:phrase> ... and maybe (unfortunately I couldn't recover my modifications) due to phrase renaming <epp:phrase id="eprint:workflow:stage:type:title">Type</epp:phrase> <epp:phrase id="eprint:workflow:stage:files:title">Upload</epp:phrase> <epp:phrase id="eprint:workflow:stage:core:title">Details</epp:phrase> <epp:phrase id="eprint:workflow:stage:pubinfo:title">Publication</epp:phrase> <epp:phrase id="eprint:workflow:stage:status:title">Status</epp:phrase> <epp:phrase id="eprint:workflow:stage:event:title">Event</epp:phrase> <epp:phrase id="eprint:workflow:stage:abstract:title">Abstract</epp:phrase> <epp:phrase id="eprint:workflow:stage:subjects:title">Subjects</epp:phrase> <epp:phrase id="eprint:workflow:stage:notes:title">Extras</epp:phrase> <epp:phrase id="eprint:workflow:stage:local:title">Custom</epp:phrase> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] Re: Possible importing BibTeX bug in monograph
- From: Thomas Lauke <th.lauke@arcor.de>
- [EP-tech] Re: Possible importing BibTeX bug in monograph
- Prev by Date: [EP-tech] Re: Possible importing BibTeX bug in monograph
- Next by Date: [EP-tech] Re: Possible importing BibTeX bug in monograph
- Previous by thread: [EP-tech] Re: Possible importing BibTeX bug in monograph
- Next by thread: [EP-tech] Re: Possible importing BibTeX bug in monograph
- Index(es):