Bug 13500

Summary: Batch item modification tool don't let you delete or set to 0
Product: Koha Reporter: Pablo AB <pablo.bianchi>
Component: ToolsAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P3 CC: katrin.fischer
Version: 3.18   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Pablo AB 2014-12-30 13:13:21 UTC
Since the upgrade to Koha 3.18 our librarians can't use Batch item modification tool as always. They can change values from something different to "0" to something different to "0", but no change the value to zero or remove the subfield.
How to test:
1) Go to Batch item modification tool (for eg http://demo-intra.mykoha.co.nz/cgi-bin/koha/tools/batchMod.pl )
2) Paste a barcode (eg 528, «The ringmaster's secret», without hold/loan).
3) Change for example $7 (Not for loan) and/or $8 (Collection code) to a !=0 value, lets say Ordered and Non fiction.
4) Repeat same procedure but now delete subfields.
5) Subfield is not removed.

Same thing if you have an authorized value "0" and try to change to that value. Changing from !=0 to !=0 works fine.
Comment 1 Katrin Fischer 2014-12-30 17:25:06 UTC
Hi Pablo, there has been a similar bug in item editing that was fixed in 3.18.2 - are you running the latest version?
Comment 2 Pablo AB 2014-12-30 18:09:41 UTC
Hi Katrin! Exactly, I was using 3.18.1, now with 3.18.2 the problem is solved :) So this could be closed (closed fixed?). Happy new year!
Comment 3 Katrin Fischer 2014-12-30 18:21:17 UTC
Cool, glad the update fixed it! Happy new year!