[Koha-bugs] [Bug 2466] New: can't remove value in item modif
bugzilla-daemon at pippin.metavore.com
bugzilla-daemon at pippin.metavore.com
Tue Aug 5 12:56:10 CEST 2008
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2466
Summary: can't remove value in item modif
Product: Koha
Version: HEAD
Platform: PC
OS/Version: All
Status: NEW
Severity: blocker
Priority: P3
Component: Cataloging
AssignedTo: galen.charlton at liblime.com
ReportedBy: paul.poulain at free.fr
QAContact: koha-bugs at lists.koha.org
If you enter a value in a field that is mapped to a items.field, you can't
remove the value here after.
Investigating the code, it appears that additem.pl calls ModItemFromMarc
ModItemFromMarc calls calls ModItem
ModItem calls _koha_modify_item
_koha_modify_item UPDATE only fields that have a value. fields that have no
values remains unchanged.
Possible solution = don't use
> for my $key ( keys %$item ) {
but hardcode all items fields.
This could have some side effect, so is that a correct solution ? I'm not
completly sure. Let me know if you have an idea...
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list