Bug 22810 - Item batch mod fails when itype description contains a comma
Summary: Item batch mod fails when itype description contains a comma
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 18.11
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-30 13:13 UTC by Andrew Fuerste-Henry
Modified: 2024-07-04 20:37 UTC (History)
1 user (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.