[Bug 2466] New: can't remove value in item modif
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@liblime.com ReportedBy: paul.poulain@free.fr QAContact: koha-bugs@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.
participants (1)
-
bugzilla-daemon@pippin.metavore.com