Address hash/list thinko; Ensure initialization collab/miker/supercat-fixes
authorMike Rylander <mrylander@gmail.com>
Wed, 17 Apr 2013 16:08:41 +0000 (12:08 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 17 Apr 2013 16:08:41 +0000 (12:08 -0400)
commitf09967448d0def1020094be0be458bb287153fb4
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm