Bug 40693

Summary: Bulk photo upload fails if file extension capitalization mismatch in IDLINK.txt
Product: Koha Reporter: Lisette Scheer <lisette>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lisette Scheer 2025-08-22 14:06:59 UTC
If a file is saved with .JPG but IDLINK.txt has it listed as .jpg it gives the following error:
ERROR: Image not imported because Koha was unable to open the image for reading.

If you change either the file extension or the entry in IDLINK.txt it works, but the error isn't verbose.

I think we should either add better error messaging, make it case insensitive, or put a note on the upload page (or a combination).