Projekt

Allgemein

Profil

Aktionen

GX-Bug #68902

geschlossen

JSON Error-Log Dateien sind nicht alleine Valide in externen JSON Viewer lesbar / JSON error log files are not readable alone Valide in external JSON viewer

Von Till Tepelmann vor fast 3 Jahren hinzugefügt. Vor 9 Monaten aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Ahmed Hamouda
Kategorie:
Core
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.4.0.0, 4.4.0.1, 4.4.0.2, 4.4.0.3
Release Notes Langtext:

JSON Error-Logs werden nun in einem allgemein validen JSON-Format gespeichert


Beschreibung

JSON Error-Log Dateien sind nicht alleine Valide in externen JSON Viewer lesbar

Man kann die Error-Log Dateien nicht direkt mit öffnen, da es kein valides JSON ist. Das hindert andere Programme wie z.B. die GAPI für die Cloud Shop diese Dateien korrekt zu lesen

Kann wie folgt reproduziert werden:

  1. In einem Shop per FTP im Ordner /logfiles/ eine der php-error-log.json Dateien herunterladen
  2. Die Datei in einen JSON VIewer öffnen, z.B. Firefox oder einem Online JSON Viewer
  3. Die Datei kann nicht geparsed werden

Erwartetets Ergebnis:
Die JSON Dateien müssen mit jedem JSON Viewser oder Javascript ohne Problem gelesen und geparsed werden können

Tatsächliches Ergebnis:
Die Error-Log JSON Dateien aus dem Shop sind nicht außerhab des Gambio Admin mit externen Programmen lesebar.


JSON error log files are not readable in external JSON viewer alone.

You cannot open the error log files directly with because it is not valid JSON. This prevents other programs like the GAPI for the Cloud Shop to read these files correctly

Can be reproduced as follows:

  1. download one of the php-error-log.json files in a store via FTP in the /logfiles/ folder.
  2. open the file in a JSON VIewer, e.g. Firefox or an online JSON viewer
  3. the file can not be parsed

Expected result:
The JSON files must be able to be read and parsed by any JSON viewer or javascript without any problem.

Actual result:
The error log JSON files from the store are not readable outside of the Gambio Admin with external programs.


Aktionen

Auch abrufbar als: Atom PDF