EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01008
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] patch for use of XML::DOM
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] patch for use of XML::DOM
- From: Carl Franks <C.A.Franks@dundee.ac.uk>
- Date: Mon, 3 Sep 2012 12:18:07 +0000
Hi, I'm running eprints 3.3.10, and if I create a versioned deposit I get a fatal error when trying to view it: Can't locate object method "lastChild" via package "XML::DOM::Element" at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 1914. I locally patched that line to call "getLastChild()" instead of "lastChild()", and the document views works as expected. I'm not sure under what circumstances lastChild() could work, as it's loading the XML::DOM::Element in eprints' own perl_lib directory - and grepping shows no use of "lastChild" in perl_lib other than this 1 call. Diff file is attached. Carl Franks Technology and Innovation in Learning Team Medical Education Institute University of Dundee School of Medicine ext 83041 The University of Dundee is a registered Scottish Charity, No: SC015096
Attachment:
getLastChild.diff
Description: getLastChild.diff
- Prev by Date: [EP-tech] Re: admin password
- Next by Date: [EP-tech] https-only site patch
- Previous by thread: [EP-tech] Creating thumbnail in 3.3.10 version
- Next by thread: [EP-tech] https-only site patch
- Index(es):