Projekt

Allgemein

Profil

Aktionen

GX-Bug #67303

geschlossen

If you use special characters or the single quotation mark in the invoice settings for the company address on the right, the text is no longer interpreted correctly

Von Till Tepelmann vor fast 4 Jahren hinzugefügt. Vor fast 4 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Moritz Bunjes
Kategorie:
Adminbereich
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.1.2.0
Release Notes Langtext:

Der Text der "Firmenadresse rechts" für Rechnung und Lieferschein wird jetzt wieder richtig gespeichert und angezeigt


Beschreibung

Wenn man in den Rechnungseinstellungen für die Firmenadresse links Sonderzeichen oder das einfache Anführungszeichen benutzt, wird der Text nicht mehr korrekt interpretiert.

Das Problem ist auch in den Zahlungsweisen bei der Zahlungsweise "Vorkasse" zu sehen im Feld "Zahlbar an". Es scheint mit der neuen Funktion für die gx_configuration Tabelle zusammenhängen.

Kann wie folgt reprodzuiert werden:

  1. Als Admin einloggen
  2. Unter Shop Einstellungen->Rechnung / Lieferschein->Inhalt->Kopfteil im Feld "Firmenadresse rechts" den Text "Ihr Name Ihre Strasse 1

12345 Ihr Ort

Quck'n'Dirty" mit Zeilenumbrüche eintragen

  1. Speichern
  2. Seite neu aurufen, Text wird falsch mit \n dargestellt

If you use special characters or the single quotation mark in the invoice settings for the company address on the left, the text is no longer interpreted correctly

The problem can also be seen in the payment methods for the payment method "moneyorder" in the field "Payable to". It seems to be related to the new function for the gx_configuration table.

Can be reproduced as follows:

  1. log in as admin
  2. under Shop Settings->Invoice->Content->Header in the field "Company address right" the text "Your name Your street 1

12345 Your place

Quck'n'Dirty"

with the line breaks

  1. click save
  2. call up page again, text is displayed incorrectly with \n

Dateien

Bildschirmfoto 2020-07-07 um 18.09.11.png (459 KB) Bildschirmfoto 2020-07-07 um 18.09.11.png This is correct Till Tepelmann, 07.07.2020 18:11
Bildschirmfoto 2020-07-07 um 18.09.33.png (459 KB) Bildschirmfoto 2020-07-07 um 18.09.33.png This is incorrect Till Tepelmann, 07.07.2020 18:11
2020-07-15_11-56.png (33,8 KB) 2020-07-15_11-56.png correct display in settints Moritz Bunjes, 15.07.2020 11:57
2020-07-15_11-55.png (93,9 KB) 2020-07-15_11-55.png wrong display in pdf invoice Moritz Bunjes, 15.07.2020 11:57

Aktionen

Auch abrufbar als: Atom PDF