Projekt

Allgemein

Profil

Aktionen

GX-Bug #64474

geschlossen

The parseJSON Method from jQuery throws errors all over the Shop

Von Julian Heckmann vor mehr als 4 Jahren hinzugefügt. Vor etwa 4 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
Marvin Muxfeld
Kategorie:
Core
Zielversion:
% erledigt:

100%

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

Die Methode parseJSON wird jetzt vor der Verwendung überprüft.


Beschreibung

in multiple tickets, there were issues with parsing the response from the ajax request.

Examples:
https://tracker.gambio-server.net/issues/55652
https://tracker.gambio-server.net/issues/63466

This has something too with the parseJSON method from jQuery, the method call itself is unnecessary because the response is already parsed and will throw an error if you try to parse it again.

With the removal of the line
"response = $.parseJSON(response);"
The error is gone.


Aktionen #1

Von Julian Heckmann vor mehr als 4 Jahren aktualisiert

It seems like the error is only shown in firefox when the console is closed, but the functionality of the js is still broken in chrome.

After analyzing a little bit with Ronald, it seems that it is a cache issue, because if you have the console open it won't appear.

Aktionen #2

Von Dodji Epe vor mehr als 4 Jahren aktualisiert

  • Status wurde von Gemeldet zu In Bearbeitung geändert
Aktionen #3

Von Julian Heckmann vor mehr als 4 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Gemeldet geändert
Aktionen #4

Von Ulrich Wenk vor mehr als 4 Jahren aktualisiert

  • Status wurde von Gemeldet zu Anerkannt geändert
Aktionen #5

Von Alexandre Ataides vor etwa 4 Jahren aktualisiert

  • Status wurde von Anerkannt zu In Bearbeitung geändert
  • Zugewiesen an wurde auf Alexandre Ataides gesetzt
Aktionen #6

Von Alexandre Ataides vor etwa 4 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an wurde von Alexandre Ataides zu Core-Entwickler geändert
  • Zielversion wurde von 133 zu 4.1.1.0 beta4 geändert
  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #8

Von Marvin Muxfeld vor etwa 4 Jahren aktualisiert

  • Zugewiesen an wurde von Core-Entwickler zu Marvin Muxfeld geändert
Aktionen #9

Von Marvin Muxfeld vor etwa 4 Jahren aktualisiert

  • Status wurde von Testing zu Erledigt geändert
  • % erledigt wurde von 0 zu 100 geändert
Aktionen

Auch abrufbar als: Atom PDF