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

Auch abrufbar als: Atom PDF