Projekt

Allgemein

Profil

GX-Bug #66184

Von Patrick Bayer vor mehr als 3 Jahren aktualisiert

Fügt man im Kommentarfeld bei der Bestellung Inhalte mit spitzen Klammern ein, führt dies zu Darstellungsproblemen, siehe Screenshot. Der Kommentar wird in der Datenbank in orders 'comments' und orders_status_history - 'comments' abgelegt.  

 Dies konnte von mir in meinem 3.15-Testshop mit der Zeichenkette, die im Screenshot sichtbar ist, reproduziert werden.  

 In der 4.3.3.0. beta1 kommt es dabei nicht zu Darstellungsfehlern, sondern alles in <> wird komplett nicht angezeigt (vermutlich um HTML-Befehle rauszufiltern?). 
 Wahrscheinlich ist das auch ein ziemlich seltener Fall. 

 1. Tätige eine Bestellung 
 2. Füge vor Abschluss ein Kommentar ein wie z.B. <TestTest> 
 3. Schicke die Bestellung ab 
 4. Überprüfe das Kommentar im Backend (Bestellstatushistorie oder Bestellübersicht im Backend) 

 "Erwartetes" Ergebnis: Kommentar wird angezeigt (?) 

 Tatsächliches Ergebnis: Kommentar wird nicht angezeigt  

 ---------------------------------- 

 If you insert a comment with angle brackets in the comment field when ordering, this leads to display problems, see screenshot. The comment is stored in the database in orders 'comments' and orders_status_history - 'comments'.  

 This could be reproduced by me in my 3.15 test store with the string visible in the screenshot.  

 In 4.3.3.0. beta1 this does not cause display errors, but everything in <> is not displayed at all (probably to filter out HTML commands?). 
 Probably this is also a rather rare case. 

 1. Start placing an order 
 2. add a comment like <TestTest> before finishing the order 
 3. send the order 
 4. check the comment in the backend (order status history or order overview in the backend) 

 "Expected" result: comment is displayed (?) 

 Actual result: comment is not displayed  

Zurück