]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Address hash/list thinko; Ensure initialization
authorMike Rylander <mrylander@gmail.com>
Wed, 17 Apr 2013 16:08:41 +0000 (12:08 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 17 Apr 2013 17:15:13 +0000 (13:15 -0400)
commite4e8dda3b09ce11acc85cb526c22c1c99b0d8589
tree1d93c9730c5f6417c98113574cf26ac0d712afa5
parent2fb125be8ae168cef03c947cedcc9c7db9ba4e28
Address hash/list thinko; Ensure initialization

Two cascading defects were identified after being reported by users. The
first, which was only a potential issue, was an apparent lack of mod_perl
initialization for the item-age record feed.  While not the direct cause
of the error message, a lack of initialization here would manifest in the
same way.  So, we check that initialization.

Feed-generating callbacks were not being constructed properly due to a
simple thinko in the construction of the default record format list provided
by the SuperCat backend.  We need a list of two hashes, not a hash of two
keys.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm