[Koha-devel] [Koha] callnumber.pl errors in koha-error_log

pete huerter pete.huerter at gmail.com
Thu Mar 17 15:07:11 CET 2011


Hi Chris,

My bad.  In my effors/struggles to get our custom callnumber
callback/value_builder working I must have based my callnumber off a
different/simpler value_builder script (possibly marc21_field_003.pl).  I
then cut and paste the various pieces of callnumber.pl into my code to
incrementally get it working.

Because of this process I am not able to say for sure why I had troubles
with callnumber.pl.

Looking at callnumber.pl again, it is possible that it was working however
not assigning callnumbers since we did not have items.itemcallnumber field
populated for any records.  The default callnumber.pl uses the MAX SQL
operator (which in my case was likely not well defined since all of our
items.itemcallnumbers were blank at the time).

Thanks for following up,

Pete.

On Thu, Mar 17, 2011 at 8:10 AM, Chris Nighswonger <
cnighswonger at foundations.edu> wrote:

> Hi Pete,
>
>
> On Wed, Mar 16, 2011 at 2:37 PM, Peter Huerter <pete.huerter at gmail.com>wrote:
>
>> Hi Chris,
>>
>> I am invoking it as a callback.  In order to get it to work I had to
>> respond
>> to the error in the koha-error_log, however I re-factored the code for our
>> purposes.
>>
>> Perhaps there is another issue then, but I am pretty sure I am using the
>> value_builder structure in the way it is intended.
>>
>
> I cannot duplicate this error on my sandbox.
>
> C4::Auth is loaded by callnumber.pl at line 22 (http://tinyurl.com/68kqmxq),
> so I'm not sure what might be causing the error on your system. There should
> be no need to import that sub as C4::Auth exports it by default.
>
> Kind Regards,
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20110317/af9887e8/attachment.htm>


More information about the Koha-devel mailing list