Projekt

Allgemein

Profil

Aktionen

GX-Bug #67988

geschlossen

Die Logs anzeigen Seite kann nicht angezeigt werden, wenn eine Logdatei 'null' als Wert enthält | Vue app on logs page fails, if log files contain `null`

Von Marvin Muxfeld vor mehr als 3 Jahren hinzugefügt. Vor fast 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Alexandre Ataides
Kategorie:
Core
Zielversion:
% erledigt:

0%

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

Die "Logs anzeigen"-Seite funktioniert nun auch, wenn das Log einen null-Wert enthält

Tags:
Fix

Beschreibung

If a log contains a null\n or null, the Vue app on the logging page will fail. This results in an endless loading spinner and no error message.
To fix this, the PHP backend should filter these "logs" out.

Steps to reproduce

  1. Add the buggy.log.json into the logfiles directory
  2. Try to open the corresponding logs in the Gambio Admin
  3. You should see a loading spinner endlessly spinning

How it should be

The loading spinner should vanish after a while and you should see some (or no) logs.

Note

See also the patch I added, which fixes this problem.


Dateien

filter_null_logs_from_log_files.patch (949 Bytes) filter_null_logs_from_log_files.patch Mirko Janssen, 24.11.2020 13:01
buggy.log.json (613 Bytes) buggy.log.json Mirko Janssen, 24.11.2020 13:08


Zugehörige Tickets

Kopiert von GX-Entwicklung - GX-Bug #67962: Vue app on logs page fails, if log files contain `null`ErledigtAlexandre Ataides

Aktionen
Aktionen #1

Von Marvin Muxfeld vor mehr als 3 Jahren aktualisiert

  • Kopiert von GX-Bug #67962: Vue app on logs page fails, if log files contain `null` wurde hinzugefügt
Aktionen #2

Von Marvin Muxfeld vor mehr als 3 Jahren aktualisiert

  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #3

Von Marvin Muxfeld vor mehr als 3 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an wurde von Marvin Muxfeld zu Core-Entwickler geändert
  • Zielversion wurde von 133 zu 4.2.1.0 beta1 geändert
Aktionen #4

Von Alexandre Ataides vor mehr als 3 Jahren aktualisiert

  • Zugewiesen an wurde von Core-Entwickler zu Alexandre Ataides geändert
Aktionen #5

Von Alexandre Ataides vor mehr als 3 Jahren aktualisiert

  • Status wurde von Testing zu Erledigt geändert
Aktionen #6

Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert

  • Thema wurde von Vue app on logs page fails, if log files contain `null` zu Die Logs anzeigen Seite kann nicht angezeigt werden, wenn eine Logdatei 'null' als Wert enthält | Vue app on logs page fails, if log files contain `null` geändert
Aktionen #7

Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert

  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #8

Von Moritz Bunjes vor fast 3 Jahren aktualisiert

  • Tags wurde von Fix, 4.2.0.2 zu Fix geändert
Aktionen

Auch abrufbar als: Atom PDF