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>
docs => 'http://www.loc.gov/marcxml/',
schema_location => 'http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd',
},
- marc21 => { docs => 'http://www.loc.gov/marc/' }
},
+ { marc21 => { docs => 'http://www.loc.gov/marc/' } }
);
for my $type ( keys %record_xslt ) {
my $apache = shift;
return Apache2::Const::DECLINED if (-e $apache->filename);
+ check_child_init();
+
my $cgi = new CGI;
my $year = (gmtime())[5] + 1900;