From: Dan Scott Date: Fri, 23 Sep 2016 20:52:41 +0000 (-0400) Subject: Titles in SIP information were corrupted X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6f9d44677c53cf3f4ae2aa1ada0ca313eb929a1b;p=contrib%2FConifer.git Titles in SIP information were corrupted It looks like we're already getting the titles back in decoded UTF8 form now, so we don't need to monkey with them via clean_text(). Patron information, on the other hand, doesn't get corrupted when we call clean_text(), so they probably are not already in decoded UTF8 form. More to investigate but wanted to note this in code for now. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm index 2a9882517a..9f5aabd452 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm @@ -270,7 +270,7 @@ sub sip_media_type { sub title_id { my $self = shift; my $t = ($self->{mods}) ? $self->{mods}->title : $self->{copy}->dummy_title; - return OpenILS::SIP::clean_text($t); + return $t; } sub permanent_location {