Bug 38230

Summary: Restore Import Success message with OCLC Gateway import
Product: Koha Reporter: Heather Hernandez <flyingendpaper>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: blawlor, david, m.de.rooy, mteal, nick
Version: 24.05   
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:
Bug Depends on: 37543    
Bug Blocks:    

Description Heather Hernandez 2024-10-22 16:15:52 UTC
This depends on Bug 37543, which fixed the broken OCLC Connexion Daemon / Gateway, but changed the "import success" message that appears in the OCLC Connexion Client software.  It used to be, e.g. (example from our Koha catalog):
Success. Batch number 1217 - biblio record number 41595added to Koha.
http://staff.keys.bywatersolutions.com/cgi-bin/koha/catalogue/detail.pl?biblionumber=41595

This was really helpful, because one could copy the record URL and paste it into the staff interface to go directly to the record.

Bug 37543, though, causes a message like this to be displayed:
"Success.  Batch number 8989 - biblio record number HASH(0x5571396a8fd8) added to Koha"

And that's not as helpful, because there are no handy URLs--one has to go to:
Cataloging
Manage staged records
And then look at the right batch number to view the imported record.

Thank you!!
Comment 1 Brendan Lawlor 2024-11-07 14:35:11 UTC
When I tested bug 38382 I found that this success message bug seems to only be an issue when the connexion config import mode is set to stage.

import_mode: stage

with import_mode: direct the bib number is displayed properly so it seems to be an issue with the bib number in the response when staging records.

Also when staging records would be more useful if a url to the batch of stage records is returned like: http://localhost:8081/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=12