Greetings,
Your steps to reproduce are insufficient.
I have a fresh install with demo data.
I turned on ExtendedPatronAttributes.
I went at looked at the modification log for a patron.
Nothing blew up.
Please give more detailed step by step instructions on how to
reproduce.
- What did you do to generate modification log entries?
- Do they even have modification log entries?
- “So please explain in detail things like if the patron has or hasn't
extended attributes, etc.”
- So do they have extended attributes?
- What attributes? How many? What are their values?
GPML,
Mark Tompsett
Sent: Thursday, June 11, 2015 10:52 AM
Subject: Re: [Koha-devel] viewlog bug
Dear tomas,
80
if ( C4::Context->preference('ExtendedPatronAttributes') ) {
81
my $attributes = GetBorrowerAttributes( $data->{'borrowernumber'} );
83
ExtendedPatronAttributes => 1,
84
extendedattributes => $attributes
If you
turn on [ExtendedPatronAttributes] options,
then it call
GetBorrowerAttributes function.
You use
C4::Members::Attributes module, but there isn't the module in front ofin front
of viewlog.pl .
Reproduce
the error , you can turn on [ExtendedPatronAttributes] options
in the
system preference
http://your
koha ip :8080/cgi-bin/koha/admin/preferences.pl
, and view
Version
affected 3.16.x,
Version
3.18, 3.20 are ok
line 74 they
have add "use C4::Members::Attributes qw(GetBorrowerAttributes)"
74
use C4::Members::Attributes qw(GetBorrowerAttributes);
75
my $borrowernumber = $object;
,so
there no error.
Thanks a lot,
龍山
Tomas Cohen Arazi
<tomascohen@gmail.com> 於 2015/6/11 (週四) 10:14 PM
寫道﹕
You should definitely fill a bug
on
http://bugs.koha-community.org about
it.
A side note: I couldn't reproduce the
error on my test site. So please explain in detail things like if the patron has
or hasn't extended attributes, etc.
_______________________________________________
Koha-devel mailing
list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website
: http://www.koha-community.org/
git : http://git.koha-community.org/
bugs
: http://bugs.koha-community.org/