perl max_chunk_size additions
authorBill Erickson <berick@esilibrary.com>
Wed, 26 Feb 2014 19:23:25 +0000 (14:23 -0500)
committerMike Rylander <mrylander@gmail.com>
Fri, 12 Aug 2016 18:57:46 +0000 (14:57 -0400)
* Class definitions for Partial and PartialComplete need unique class
  hints.
* Fixed class name copy/paste-o

Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm

index 25d8f50..23a68be 100644 (file)
@@ -284,7 +284,10 @@ package OpenSRF::DomainObject::oilsResult::Partial;
 use OpenSRF::DomainObject::oilsResponse qw/:status/;
 use base 'OpenSRF::DomainObject::oilsResult';
 use vars qw/$status $statusCode/;
-OpenSRF::Utils::JSON->register_class_hint( hint => 'osrfResult', name => 'OpenSRF::DomainObject::oilsResult::Partial', type => 'hash' );
+OpenSRF::Utils::JSON->register_class_hint(
+    hint => 'osrfResultPartial',
+    name => 'OpenSRF::DomainObject::oilsResult::Partial',
+    type => 'hash');
 
 
 $status = 'Partial Response';
@@ -324,7 +327,10 @@ package OpenSRF::DomainObject::oilsResult::PartialComplete;
 use OpenSRF::DomainObject::oilsResponse qw/:status/;
 use base 'OpenSRF::DomainObject::oilsResult';
 use vars qw/$status $statusCode/;
-OpenSRF::Utils::JSON->register_class_hint( hint => 'osrfResult', name => 'OpenSRF::DomainObject::oilsResult::Partial', type => 'hash' );
+OpenSRF::Utils::JSON->register_class_hint( 
+    hint => 'osrfResultPartialComplete',
+    name => 'OpenSRF::DomainObject::oilsResult::PartialComplete',
+    type => 'hash');
 
 
 $status = 'Partial Response Finalized';