Projekt

Allgemein

Profil

Aktionen

GX-Bug #66316

geschlossen

Product with variants throws Error 500 in frontend when quantity of the property combinations is zero

Von Ulrich Wenk vor etwa 4 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Sofort
Zugewiesen an:
Ahmed Hamouda
Kategorie:
Eigenschaften
Zielversion:
% erledigt:

100%

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

Ein Problem auf der Seite Produktdetails wurde behoben, wenn die Kombinationen keine verfügbare Menge hatten.


Beschreibung

Preconditions:

  • create a product with property combinations, leave the combination's amount at zero
  1. call this product in the frontend

result:

  • error 500

log:

020-03-16 18:38:53 ERROR: Uncaught Gambio\Shop\SellingUnit\Unit\Exceptions\InsufficientQuantityException: AvailableQuantity 0 in /var/www/uw/4.0.0.0_2FA/GambioShop/SellingUnit/Unit/SellingUnit.php:219

2020-03-16 18:38:53 WARNING: count(): Parameter must be an array or an object that implements Countable

2020-03-16 18:38:52 WARNING: Use of undefined constant SESSION_CHECK_IP_ADDRESS - assumed 'SESSION_CHECK_IP_ADDRESS' (this will throw an Error in a future version of PHP)

2020-03-16 18:38:52 WARNING: Use of undefined constant SESSION_CHECK_USER_AGENT - assumed 'SESSION_CHECK_USER_AGENT' (this will throw an Error in a future version of PHP)


Aktionen #1

Von Daniel Wu vor etwa 4 Jahren aktualisiert

  • Tags wurde auf 4.1.1.0 beta2 gesetzt
Aktionen #2

Von Ahmed Hamouda vor etwa 4 Jahren aktualisiert

  • Status wurde von Anerkannt zu In Bearbeitung geändert
  • Zugewiesen an wurde auf Ahmed Hamouda gesetzt
Aktionen #3

Von Ahmed Hamouda vor etwa 4 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Erledigt geändert
  • % erledigt wurde von 0 zu 100 geändert
  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #5

Von Moritz Bunjes vor mehr als 2 Jahren aktualisiert

  • Tags 4.1.1.0 beta2 wurde gelöscht
Aktionen #6

Von Daniel Wu vor mehr als 2 Jahren aktualisiert

  • Zielversion wurde von 133 zu 4.1.1.0 beta2 geändert
Aktionen

Auch abrufbar als: Atom PDF