[EP-tech] Antwort: Re: Errors when requesting /id/eprint/$eprintid after 3.3.13 update
martin.braendle at id.uzh.ch
martin.braendle at id.uzh.ch
Tue Apr 14 15:04:23 BST 2015
This bug also seems to affect saved searches (which, in our case, are
important to create publication lists on the Web).
E.g. http://www.yourrepo/id/saved_search/{savedsearchid}
results in an Internal server error and the same message in the error log.
Best regards,
Martin
--
Dr. Martin Brändle
Zentrale Informatik
Universität Zürich
Winterthurerstr. 190
CH-8057 Zürich
mail: martin.braendle at id.uzh.ch
phone: +41 44 63 56705
fax: +41 44 63 54505
http://www.id.uzh.ch
Von: Gunnar Wolf <gwolf at gwolf.org>
An: eprints-tech at ecs.soton.ac.uk
Datum: 17/02/2015 18:55
Betreff: [EP-tech] Re: Errors when requesting /id/eprint/$eprintid after
3.3.13 update
Gesendet von: eprints-tech-bounces at ecs.soton.ac.uk
Lizz Jennings dijo [Tue, Feb 17, 2015 at 05:29:03PM +0000]:
> No, it's not just you - I just found and solved the same error about half
an hour ago!
>
> If you replace the line 897 with
>
> if( $self->scope == CRUD_SCOPE_DATAOBJ || $self->scope ==
CRUD_SCOPE_USER_CONTENTS )
>
> that fixed it for me.
Right. In my case, I decided to add a check instead of removing it
(even if it almost always becomes a null check), and I have:
if( ( $self->scope == CRUD_SCOPE_DATAOBJ && $self->{database} &&
$self->{database}->base_id ne "subject" ) || $self->scope ==
CRUD_SCOPE_USER_CONTENTS )
*** 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150414/257e35ac/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150414/257e35ac/attachment.gif
More information about the Eprints-tech
mailing list