Projekt

Allgemein

Aktionen

GX-Bug #64474

geschlossen

The parseJSON Method from jQuery throws errors all over the Shop

Von Julian Heckmann vor mehr als 5 Jahren hinzugefügt. Vor etwa 5 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.


Checkliste 0/0

#2

Von Dodji Epe vor mehr als 5 Jahren aktualisiert

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

Von Julian Heckmann vor mehr als 5 Jahren aktualisiert

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

Von Ulrich Wenk vor mehr als 5 Jahren aktualisiert

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

Von Alexandre Ataides vor etwa 5 Jahren aktualisiert

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

Von Alexandre Ataides vor etwa 5 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)
#8

Von Marvin Muxfeld vor etwa 5 Jahren aktualisiert

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

Von Marvin Muxfeld vor etwa 5 Jahren aktualisiert

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