From 879d493d9cec2e34f96a74728187e6b88357951d Mon Sep 17 00:00:00 2001 From: gmc Date: Wed, 26 Jan 2011 19:05:52 +0000 Subject: [PATCH] remove redundant finalize Already handled by OpenILS::Mapper, and has the effect of making a parsing bug in edi4r worse by causing question marks in the EDI data to be escaped multiple times. Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/trunk@19309 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/edi_translator/edi_webrick.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/edi_translator/edi_webrick.rb b/Open-ILS/src/edi_translator/edi_webrick.rb index 435b31b144..4907dd0149 100755 --- a/Open-ILS/src/edi_translator/edi_webrick.rb +++ b/Open-ILS/src/edi_translator/edi_webrick.rb @@ -101,7 +101,7 @@ servlet.add_handler("edi2json" ) { |a_string| servlet.add_handler("json2edi" ) { |a_string| File.open('/tmp/ruby_json2edi.tmp', 'w') {|f| f.write(a_string) } # debugging, so we can compare what we rec'd w/ the orig. file @map = OpenILS::Mapper.from_json(a_string) - @map.finalize.to_s + @map.to_s } servlet.add_introspection -- 2.43.2