[Koha-devel] Label generator broken?

Bernard Shiundu BShiundu at strathmore.edu
Mon Oct 12 11:36:53 CEST 2009


Still no joy.

Applied the patch and it sorted out the bug with the printer profiles (they are now saved correctly when editing) however I still have the same error when trying to save templates/layouts after editing and the changes are not saved. The error also comes when creating new templates/layouts - however these are saved.

Additional info:
The logs show:
[Mon Oct 12 12:32:07 2009] [error] [client ...] label-edit-template.pl: Use of uninitialized value in numeric eq (==) at /../labels/label-edit-template.pl line 100., referer: http://../cgi-bin/koha/labels/label-manage.pl?label_element=template
[Mon Oct 12 12:32:12 2009] [error] [client ...] label-edit-template.pl: Can't bless non-reference value at /.../C4/Labels/Profile.pm line 89., referer: http://.../cgi-bin/koha/labels/label-edit-template.pl?op=edit&element_id=1

_______________________________________
From: Chris Nighswonger [cnighswonger at foundations.edu]
Sent: Tuesday, October 06, 2009 9:20 PM
To: Bernard Shiundu
Cc: koha-devel at lists.koha.org
Subject: Re: [Koha-devel] Label generator broken?

2009/10/6 Bernard Shiundu <bshiundu at strathmore.edu>:
> Just upgraded my copy to 3.01.00.061 from 3.01.00.056 and get the following
> when trying to save any of my templates and layouts
>
> Can't bless non-reference value at /...C4/Profile.pm line 89.
>
> Apache Server version: Apache/2.2.9 (Debian) Server built: Jul 14 2009
> 20:03:28
> Koha 3.01.00.061
> Koha DB 3.0100061
> MySQL mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using
> readline 5.2 OS
> Linux laetitia 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686 Perl
> 5.010000
>
> Before I file a bug report, anyone else got this??

IIRC, I have submitted a patch to correct the bug which causes this.
Looking back, it does not seem to have made it into the main repo yet.

http://github.com/cnighswonger/koha-wip/commit/ecb63911c970d46f07c0b4a15500d17fe37cf6a7

Kind Regards,
Chris



Strathmore University provides all-round education in an atmosphere of freedom and responsibility.
This email and any files transmitted with it are intended solely for use by the recipient(s) to whom it is addressed and may contain confidential information. If you have received this email in error please notify the sender immediately and permanently delete this email and/or any files attached to it from your computer. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Strathmore University.  The University accepts no liability whatsoever for any loss or damages incurred, or suffered, resulting, or arising, from the use of this email and/or its attachments.  The University warrants neither the integrity of the e-mail nor its freedom from errors, viruses, interception or any other form of interference.
………………………………………………………………….
Website: www.strathmore.edu





More information about the Koha-devel mailing list