Bug 7613: OCLC Connexion web service and desktop client, followup patch
authorD Ruth Bavousett <ruth@bywatersolutions.com>
Mon, 11 Jun 2012 19:13:01 +0000 (12:13 -0700)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 5 Sep 2012 12:53:13 +0000 (14:53 +0200)
commitfafd3e87f50b88225b1d4d281679fb511b376c10
treecda42306a1206ffe7bb23dfeeda9fefa3d58628d
parentb90b271a0cdb5d891b2aece3ab99e042d181a12a
Bug 7613: OCLC Connexion web service and desktop client, followup patch

Prior patches to this bug had lots of comments like "I don't have a way to test this, so..."

In the OCLC Connexion web, when you choose the option to export to MARC, it'll *send* it, and
say, "Record Exported," but the web client does nothing whatever to confirm that the record
actually landed in Koha.  That's a flaw in their software, but can be easily checked by
looking in Koha to see if an import batch got created.  The desktop client is a little
smarter about this, but needed much more testing, also.

With this patch, both the client and web will actually work.  With a config file and set up as
previously described, The record will be staged and/or imported, and the desktop client returns
a useful message about what happened, *and* the staff client URL to the record.

Oodles of gobs of bunches of thanks to Virginia Military Institute, for loaning me their OCLC
authorization credentials so this could be tested, as well as for great suggestions of cosmetic
improvements to the mechanism and output.
misc/bin/connexion_import_daemon.pl
svc/import_bib