On Mon, Oct 12, 2009 at 11:30 AM, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
On Mon, Oct 12, 2009 at 9:36 AM, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
On Mon, Oct 12, 2009 at 5:36 AM, Bernard Shiundu <BShiundu@strathmore.edu> wrote:
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...
I'm working on a fix for this bug. Would you mind filing a bug report at http://bugs.koha.org and include this information?
Ok, I'm submitting a patch to fix this.
I'll also file the bug.
Bug 3706 submitted (http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3706) along with a patch to fix. Bernard, If you have time, please apply the patch and test. Kind Regards, Chris