EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07582
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] related_resources field display
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, "James Kerwin" <jkerwin2101@gmail.com>
- Subject: Re: [EP-tech] related_resources field display
- From: Rory McNicholl <Rory.McNicholl@london.ac.uk>
- Date: Fri, 23 Nov 2018 16:52:40 +0000
Hi James,
was recollect installed from the bazaar or github (https://github.com/eprintsug/recollect)?
Just curiousity really
The issue exists in both of them even though they are quite different. I've created a PR for it: https://github.com/eprintsug/recollect/pull/4
Cheers,
Rory
Rory McNicholl
Lead developer
Digital Archives & Research Technologies
CoSector, University of London
Senate House
Malet Street
London
WC1E 7HU
t: +44 (0)20 7863 1344
e: rory.mcnicholl@london.ac.uk
w: http://www.ulcc.ac.uk/
The University of London is an exempt charity in England and Wales.
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of James Kerwin via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Sent: 23 November 2018 13:28:11 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] related_resources field display Hi All,
I have a problem on our data repository which uses Recollect.
On the staff view, the "Related Resources" field displays as something similar to:
ARRAY(0x7f7c354a5c10)
Checking the database I can see the links I submitted for this field are still in the format I expected, so the problem appears to be in the display of these items. It looks as though it's trying to print a hash/array instead of accessing the object the
"proper" way.
I've taken a good look at this and got to Details.pm in:
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/EPrint
I can understand the code (more or less) to the point where it prints out each stages tab (Previews, Details, Actions, History, Issues) and how it appears to print the header for each section under each tab (e.g. Details ==> Upload, Details,Other Defined
Fields.
I just can't see where each subheading is then printed to screen (Creators of, Title of Divisions etc):
Irritatingly, on the repository we have an analogous "related_url" field that displays correctly. If I knew where to look I could just compare and correct it. Does anybody have any ideas? There is an
x_recollect.pl in cfg.d that contains the following, but I don't think that's what I want:
Thanks,
James
|
- Follow-Ups:
- Re: [EP-tech] related_resources field display
- From: Rory McNicholl <Rory.McNicholl@london.ac.uk>
- Re: [EP-tech] related_resources field display
- References:
- [EP-tech] related_resources field display
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] related_resources field display
- From: Rory McNicholl <Rory.McNicholl@london.ac.uk>
- [EP-tech] related_resources field display
- Prev by Date: Re: [EP-tech] related_resources field display
- Next by Date: [EP-tech] Ubuntu 18 , mpm_prefork vs mpm_event
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):