[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: URI: leads to broken link

This seems to be a bug in 3.3.13

The issue is on line 897 of:


Replace it with either (my solution):
if( $self->scope == CRUD_SCOPE_DATAOBJ || $self->scope == CRUD_SCOPE_USER_CONTENTS )

or (Gunnar Wolf?s solution):

if( ( $self->scope == CRUD_SCOPE_DATAOBJ && $self->{database} && $self->{database}->base_id ne "subject" ) || $self->scope == CRUD_SCOPE_USER_CONTENTS )

Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2014)
Technical Data Officer
The Library 4.10, University of Bath, Bath, BA2 7AY UK
Ext. 3570 (External 01225 383570)
E.Jennings at bath.ac.uk<mailto:E.Jennings at bath.ac.uk>
Research Data Management: http://www.bath.ac.uk/research/data

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of pgasinos pgs
Sent: 03 March 2015 09:39
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] URI: leads to broken link

I have noticed that in every item at the end of meta-data there is a URI link, for example:
URI:     http://www.myserver.com/id/eprint/85 that is a broken link (because it works without the /id/eprint). Why you added that by default? How could I get rid of it?
Kostas Pgasinos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150303/9948cfb7/attachment-0001.html