[Koha-bugs] [Bug 13757] Make patron attributes editable in the opac if set to be visible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 15:35:57 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13757

--- Comment #3 from Marc Véron <veron at veron.ch> ---
Hi Jesse,

I tested this first patch because I'm looking forward for this enhancement.

After applying I can no longer create new attributes. 
This is what I get in intranet-error.log after I hit "Save":

[Thu Sep 03 15:24:22 2015] [error] [client 10.0.0.85] [Thu Sep  3 15:24:22
2015] patron-attr-types.pl: DBD::mysql::st bind_param failed: Illegal parameter
number at /usr/share/kohaclone/C4/Members/AttributeTypes.pm line 243., referer:
http://10.0.0.31:8080/cgi-bin/koha/admin/patron-attr-types.pl?op=add_attribute_type
[Thu Sep 03 15:24:22 2015] [error] [client 10.0.0.85] [Thu Sep  3 15:24:22
2015] patron-attr-types.pl: DBD::mysql::st execute failed: Column count doesn't
match value count at row 1 at /usr/share/kohaclone/C4/Members/AttributeTypes.pm
line 244., referer:
http://10.0.0.31:8080/cgi-bin/koha/admin/patron-attr-types.pl?op=add_attribute_type
[Thu Sep 03 15:24:22 2015] [error] [client 10.0.0.85] [Thu Sep  3 15:24:22
2015] patron-attr-types.pl: Argument "" isn't numeric in numeric gt (>) at
/usr/share/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt
line 336., referer:
http://10.0.0.31:8080/cgi-bin/koha/admin/patron-attr-types.pl?op=add_attribute_type
[Thu Sep 03 15:24:22 2015] [error] [client 10.0.0.85] [Thu Sep  3 15:24:22
2015] patron-attr-types.pl: Argument "" isn't numeric in numeric gt (>) at
/usr/share/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt
line 336., referer:
http://10.0.0.31:8080/cgi-bin/koha/admin/patron-attr-types.pl?op=add_attribute_type

However, I can set and save the value "Display in OPAC" on existing entries
(and I see them in the table borrower_attribute_types).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list