LP#1657885: Account for new bundling/chunking logic in OpenSRF 2.5+
authorMike Rylander <mrylander@gmail.com>
Thu, 19 Jan 2017 20:54:53 +0000 (15:54 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 19 Jan 2017 20:54:53 +0000 (15:54 -0500)
commitf96c8a5f606fbb899f43a0f4bc28e35af7ee8209
treeb69f56a9011a267f954d2e70d348cf52339adcbf
parentcb0771499e2252983d5e209d0e03d7cc60091e43
LP#1657885: Account for new bundling/chunking logic in OpenSRF 2.5+

When chunking was renamed bundling and actually chunking added in OpenSRF 2.5,
the few places in Evergreen that tried to make use of the old mechanism
directly now break. The most obvious breakage is in the alternate printable
hold pull list, which we fix here.  Evidence of other broken code should
be fixed as needed, though spots to look our for are z39.50 results and
Vandelay processing.

To test:

 1) In Evergreen 2.11 running on top of OpenSRF 2.5+, attempt to use the
    alt pull list printing interface at a location with many holds on their
    pull list.  The progress bar will spin forever.
 2) After applying this patch, do the same.  The interface should work
    quickly.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm