Hallo OTRS-Community,

verwendete Version: OTRS 4.0.18

In unser Testsystem wurde ein Ticket per E-mail erstellt, dass ein ungültiges

utf-8-Zeichen enthält.

Beim Beantworten dieses Tickets erhalt ich die Fehlermeldung
[Mon Sep 26 10:49:56 2016] 
-e:     (in cleanup) Can't call method "Get" on an undefined value at
/opt/otrs//Kernel/System/AuthSession/DB.pm line 583.
[Mon Sep 26 10:49:56 2016] 
[error] \t(in cleanup) Can't call method "Get" on an undefined value at
/opt/otrs//Kernel/System/AuthSession/DB.pm line 583.\n

Bzw. erhalte ich diese Fehlermeldungen auch, wenn ich manuell ein Ticket
erstelle (AgentTicketPhone mit einem ungültigen utf-8-Zeichen. 

Das Modul
/Kernel/System/Encode.pm
ersetzt doch solche ungültigen Zeichen, oder?
 
# strip invalid chars / 0 = will put a substitution character in
# place of a malformed character
eval { Encode::from_to( $Param{Text}, $Param{From}, $Param{To}, 0 ) };

# set utf-8 flag
Encode::_utf8_on( $Param{Text} );

  # return new string
  return $Param{Text};
 }

# return text
return $Param{Text};
}


---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

Reply via email to