[Bug 37609] New: Item type code of 0 causes cascade of failure
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37609 Bug ID: 37609 Summary: Item type code of 0 causes cascade of failure Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: esther.melander@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl The general rule of thumb when creating item type codes is all capital letters, no spaces, no special characters. This implies that alpha numeric characters will work, including the number 0. However if an item type is created with a code of 0, it will cause various failures. I am assuming Koha is reading the number 0 as null or blank. If the number 0 cannot be used, documentation should include both best practices but also what should not be used like the number 0. These are the failures I made note of: 1. An item can't be saved with the 0 item type in the 952$y or the 942$c, which also prevents circulation. 2. If a circulation rule is created with the 0 item type, the rule can't be deleted. Deleting the 0 item type is the only way to remove the circulation rule. I did some additional testing where I changed the Item Type code to '0A' and 'A0' and had similar results. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org