EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09799
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Override 3.4.5 Import plugin
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Override 3.4.5 Import plugin
- From: "Alan.Stiles [He/Him/They]" <alan.stiles@open.ac.uk>
- Date: Thu, 25 Jul 2024 15:22:09 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hi, I’m trying to override the way /opt/eprints/flavours/pub_lib/plugins/EPrints/Plugin/Import/DOI.pm checks for duplicates so it includes the review buffer. Obviously, if I update that file it will work fine, but it also means I’ve changed the core code, which is not good. I’ve attempted to override it in /opt/eprints/archive/{ARCHIVE_ID]/cfg/plugins/EPrints/Plugin/Import/DOI.pm with and without replacing the function pointers e.g. package EPrints::Plugin::Import::DOI; undef &EPrints::Plugin::Import::DOI::input_text_fh; *EPrints::Plugin::Import::DOI::input_text_fh = \&local_input_text_fh; and it just doesn’t seem to pick up my code changes. Please tell me the obvious thing I’m overlooking! Alan |
- Follow-Ups:
- RE: [EP-tech] Override 3.4.5 Import plugin
- From: John Salter <J.Salter@leeds.ac.uk>
- RE: [EP-tech] Override 3.4.5 Import plugin
- Prev by Date: Re: [EP-tech] Bots - Server Resources
- Next by Date: RE: [EP-tech] Override 3.4.5 Import plugin
- Previous by thread: [EP-tech] Error when upgrading version
- Next by thread: RE: [EP-tech] Override 3.4.5 Import plugin
- Index(es):