[Bug 6196] New: cant edit items (Can't call method "subfield" error)
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 Bug #: 6196 Summary: cant edit items (Can't call method "subfield" error) Classification: Unclassified Change sponsored?: --- Product: Koha Version: rel_3_2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: Cataloging AssignedTo: gmcharlt@gmail.com ReportedBy: mason@kohaaloha.com QAContact: koha-bugs@lists.koha-community.org CC: ian.walls@bywatersolutions.com when editing an existing item on koha-3.2.6 (and 3.4 head) i get this error when updating an item (but not others) Software error: Can't call method "subfield" on an undefined value at /home/mason/git/ebc/cataloguing/additem.pl line 607. however, i have a created small patch to fix this problem, the patch has a more explicit check for the existent of a field, before attempting to access its subfields (which caused the error) fyi: i rewrote the code block, so it now reads a little easier -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 Matthew <mshahi@aphrc.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mshahi@aphrc.org --- Comment #1 from Matthew <mshahi@aphrc.org> 2011-10-11 15:40:08 UTC --- I also get the following error, how can i solve it. The following fatal error has occurred: Can't call method "subfield" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 2672. Apache Server version: Apache/2.2.16 (Debian) Server built: Sep 29 2011 20:59:05 Koha 4.02.00.006 Koha DB 4.0200006 MySQL mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64) using readline 6.1 OS Linux library 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64 Perl 5.010001 -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> 2011-10-11 15:49:34 UTC ---
Koha 4.02.00.006
There is no Koha 4.02.00.006. It sounds like you're running a fork of Koha. If that's the case, then this isn't the right place to report bugs for it. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Mason James <mtj@kohaaloha.com> 2011-10-11 16:13:45 UTC --- (In reply to comment #0)
when editing an existing item on koha-3.2.6 (and 3.4 head)
i get this error when updating an item (but not others)
Software error:
Can't call method "subfield" on an undefined value at
the actual cause of my problem was some bad framework mapping, (linking a 999 field to an item.* column) so im marking this one RESOLVED (aka: user error) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 --- Comment #4 from Mason James <mtj@kohaaloha.com> 2011-10-11 16:22:17 UTC --- (In reply to comment #1)
I also get the following error, how can i solve it.
Matthew, i would start by installing an official Koha release. Koha-3.4.5 was released 2 weeks ago -> http://koha-community.org/koha-3-4-5/ -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 --- Comment #5 from Matthew <mshahi@aphrc.org> 2011-10-12 05:56:24 UTC --- (In reply to comment #4)
(In reply to comment #1)
I also get the following error, how can i solve it.
Matthew, i would start by installing an official Koha release.
Koha-3.4.5 was released 2 weeks ago -> http://koha-community.org/koha-3-4-5/
What about koha at http://www.koha.org/ ? is it also Koha? -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz --- Comment #6 from Chris Cormack <chris@bigballofwax.co.nz> 2011-10-12 06:38:09 UTC --- No it is not, it is Liblimes fork, based on a version of Koha from a few years old. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 --- Comment #7 from Mason James <mtj@kohaaloha.com> 2011-10-12 08:45:25 UTC --- (In reply to comment #5)
(In reply to comment #4)
(In reply to comment #1)
I also get the following error, how can i solve it.
Matthew, i would start by installing an official Koha release.
Koha-3.4.5 was released 2 weeks ago -> http://koha-community.org/koha-3-4-5/
What about koha at http://www.koha.org/ ? is it also Koha?
Matthew heres your support options from ptfs/liblime's KOHA.org website... LiblimeKohaDiscussion mailing list http://lists.liblime.com/cgi-bin/mailman/listinfo/liblimekohadiscussion LibLime Koha Consulting Services: kohaconsulting@liblime.com LibLime Koha Implementation Services: kohaimplementation@liblime.com LibLime Koha Hosting and Support Services: kohasupport@liblime.com -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |8501 -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |irfan.a.mirza@gmail.com --- Comment #8 from Fridolyn SOMERS <fridolyn.somers@biblibre.com> --- *** Bug 8501 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6196 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|8501 | -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org