Project

General

Profile

GX-Bug #67988

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`

Added by Marvin Muxfeld 10 months ago. Updated about 2 months ago.

Status:
Erledigt
Priority:
Dringend
Category:
Core
Target version:
% Done:

0%

Estimated time:
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

Description

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.


Files

filter_null_logs_from_log_files.patch (949 Bytes) filter_null_logs_from_log_files.patch Mirko Janssen, 11/24/2020 01:01 PM
buggy.log.json (613 Bytes) buggy.log.json Mirko Janssen, 11/24/2020 01:08 PM

Related issues

Copied from GX-Entwicklung - GX-Bug #67962: Vue app on logs page fails, if log files contain `null`Erledigt

Actions

History

#1

Updated by Marvin Muxfeld 10 months ago

  • Copied from GX-Bug #67962: Vue app on logs page fails, if log files contain `null` added
#2

Updated by Marvin Muxfeld 10 months ago

  • Release Notes Langtext updated (diff)
#3

Updated by Marvin Muxfeld 10 months ago

  • Status changed from In Bearbeitung to Testing
  • Assignee changed from Marvin Muxfeld to Core-Entwickler
  • Target version changed from SP-Candidates to 4.2.1.0 beta1
#4

Updated by Alexandre Ataides 10 months ago

  • Assignee changed from Core-Entwickler to Alexandre Ataides
#5

Updated by Alexandre Ataides 10 months ago

  • Status changed from Testing to Erledigt
#6

Updated by Moritz Bunjes 10 months ago

  • Subject changed from Vue app on logs page fails, if log files contain `null` to 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`
#7

Updated by Moritz Bunjes 9 months ago

  • Release Notes Langtext updated (diff)
#8

Updated by Moritz Bunjes about 2 months ago

  • Tags changed from Fix, 4.2.0.2 to Fix

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 5 MB)