Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

Re: [EP-tech] Vews -- error from an empty field

From: "Henok Mikre" <henokmikre AT gmail.com>
Date: Thu, 3 Jul 2008 10:10:37 -0400


Threading: [EP-tech] Vews -- error from an empty field from tajoli AT cilea.it
      • This Message

What do you mean by "publication field not present?" It sounds like 
you are
saying a given eprint does not have any values set for the field
"publication." If that is what you mean then I do not think you would
receive the errors as shown. Of course, I am no expert, I am just speaking
from experience.

Could you elaborate a little more? For instance, are you able to view some
items when browsing by "publication"? Or do you get a 404 error for 
all
them?



On Thu, Jul 3, 2008 at 9:50 AM, Zeno Tajoli <tajoli AT cilea.it> wrote:

> ***
> 
http://www.eprints.org/tech.php/id/%3C200807031351.m63Dox0v019657%40petrel.ecs.soton.ac.uk%3E
> *** EPrints community wiki - http://wiki.eprints.org/
>
> Hi to all,
>
> I have do this definition for a view:
> {id => "journtitle",
>  fields => "publication",
>  oder => "-date/title",
>  allow_null=> 0,
>  include => 1,}
>
> the field "publication" is not mandatory, so many eprints does't 
have a
> value in this field.
>
> When I start 'generete_view' I receive this error log:
>
> Use of uninitialized value in hash element at
> /usr/share/eprints3/perl_lib/EPrints/Database.pm line 2944.
> Use of uninitialized value in hash element at
> /usr/share/eprints3/perl_lib/EPrints/Database.pm line 2944.
> Use of uninitialized value in string eq at
> /usr/share/eprints3/perl_lib/EPrints/MetaField.pm line 2059.
> Use of uninitialized value in substitution (s///) at
> /usr/share/eprints3/perl_lib/EPrints/Search/Field.pm line 721.
> Use of uninitialized value in join or string at
> /usr/share/eprints3/perl_lib/EPrints/Search/Field.pm line 724.
> Use of uninitialized value in string at
> /usr/share/eprints3/archives/eprints3/cfg/cfg.d/indexing.pl line 122.
>
> Those log are releted with one record with 'publication' field not 
present.
> If I insert same value into the empty field 'publication',
> all is OK.
> Is it possible to leave those errors from log ?
>
> I use Eprints 3.1-rc-2
>
> Bye
>
> Zeno Tajoli
> CILEA - Segrate (MI)
> tajoliAT_SPAM_no_prendiATcilea.it
> (Indirizzo mascherato anti-spam; sostituisci quanto tra AT con  AT )
>
>

ATTACHMENT: message.html!


[index] [prev] [next] [options] [help]