]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1730470 Restore XUL serial receive compatibility
authorDan Wells <dbw2@calvin.edu>
Wed, 27 Dec 2017 13:36:23 +0000 (08:36 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 11 Jan 2018 19:14:30 +0000 (14:14 -0500)
commitd5a8a5288d26d86355c2fa7b046a928ab6e25ddb
tree411b56981d314935aa43cfb57745df99ce054eb9
parent17685311d8350f7bbc61f1d0e394ec457c061789
LP#1730470 Restore XUL serial receive compatibility

The older XUL interface does not have quite the same fleshing as the
new web-staff, so adding the 'move previous' code into the unitize
function breaks the old interface.

Since we already are looking up the distribution to get the setting,
let's just tack it on when it is missing.

To test
-------
[1] Set up a serial subscription with predicted issuances, then from
    the XUL serials control view attempt to receive an issue. Note
    that there will be a crash.
[2] Apply the patch and repeat step #1; this time, the issuance
    receive should work.
[3] Verify that receiving issues via the web staff interface continues
    to work.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm