Bug 22810

Summary: Item batch mod fails when itype description contains a comma
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: m.de.rooy
Version: 18.11   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2019-04-30 13:13:04 UTC
Confirmed this behavior in 18.05 and 18.11.
To test:
- Create an itype with a comma in its description
- Create items without an itype
- Put those items into item batch modification
- Attempt to set items to your new itype
- Koha will return "No items were modified" and the itype will remain null

This only occurs when items have a null itype. Batch mod can correctly set an item to an itype with a comma in the description if that item is starting from a non-null itype.

This only occurs in batch modification. Item creation and single item edits work correctly with itypes with a comma in the description.
Comment 1 Katrin Fischer 2023-09-23 17:12:35 UTC
Can't replicate the error in current development version.