Bug 42059

Summary: Allow Connexion import utility to specify a file name to distinguish staged batches
Product: Koha Reporter: Jason Boyer <JBoyer>
Component: MARC Bibliographic record staging/importAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: JBoyer
Version: unspecified   
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:
Attachments: A patch to implement optional staged batch filenames in Connexion importer

Description Jason Boyer 2026-03-10 19:50:49 UTC
If a system has multiple libraries that use the Connexion import utility and stage their records, all record imports will be placed in the same unnamed staged batch until it is imported or cleaned / deleted. This can cause records from multiple libraries to end up in one big pile that confused catalogers may import or remove all at once even if further scrutiny is needed (otherwise they would just use the direct import method).

I'd like to allow the importer to specify a filename; either a static string or one with very basic dynamic elements such as a timestamp or a simple counter. This would require multiple instances of the importer with different configs to use multiple names, but that may already be the case if a system uses one port for staged imports and another for direct, etc.
If no import filename is specified in the config everything should continue to behave it does today.
Comment 1 Jason Boyer 2026-03-10 20:37:42 UTC
Created attachment 195102 [details] [review]
A patch to implement optional staged batch filenames in Connexion importer