Projekt

Allgemein

Profil

Aktionen

GX-Bug #67881

geschlossen

If you have products with attributes in your shopping cart, and the admin deletes the attributes, then the shopping cart can no longer be accessed

Von Till Tepelmann vor mehr als 3 Jahren hinzugefügt. Vor mehr als 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
Alexandre Ataides
Kategorie:
Checkout
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.2.0.1, 4.3.1.0
Release Notes Langtext:

Wenn man einen Artikel mit Attributen im Warenkorb hat, und der Admin die Attribute löscht, dann kann der Warenkorb danach jetzt wieder aufgerufen werden.


Beschreibung

Wenn man Artikel mit Attributen im Warenkorb hat, und der Admin die Attribute löscht, dann kann der Warenkorb danach nicht mehr aufgerufen werden

Kann wie folgt reproduziert werden:

  1. Artikel anlegen
  2. Unter "Artikel->Artikelattribute" ein Attribut z.B. "Gewicht" anlegen
  3. zwei Werte anlegen "2kg und 3kg"
  4. Attribute dem Artikel zuweisen und für 2kg 2 EUR eintragen und für 3kg 3 EUR eingeben
  5. Artikel im Shop aufrufen
  6. Artikel mit einem Attribut in den Korb legen
  7. Als Admin nun im Artikel unter "Attribute" die Zuordnung entfernen indem man die Checkbox deaktiviert und speichert.
  8. Warenkorb im Shop aufrufen, es wird eine Fehlermeldung angezeigt.

Erwartetet Ergebnis:
Der Warenkorb ist aufrufbar und der Artikel ist nicht mehr im Korb und wurde entfernt, oder der Text "Artikel ist nicht mehr Verfügbar" wird angezeigt und der Artikel ist noch im Korb zu sehen und der Checkout ist deaktiviert bis der Artikel vom Kunden aus dem Korb entfernt wird.

Tatsächliches Ergebnis:
Der Warenkorb ist nicht mehr aufrufbar und es wird eine Fehlermeldung angezeigt.


If you have products with attributes in your shopping cart, and the admin deletes the attributes, then the shopping cart can no longer be accessed

Can be reproduced as follows:

  1. create a product
  2. create an attribute e.g. "weight" under "Product->Article attributes
  3. create two values "2kg and 3kg
  4. assign attributes to the product and enter 2 EUR for 2kg and 3 EUR for 3kg
  5. access products in the store
  6. place products with an attribute in the basket
  7. as admin now in the product under "Attributes" remove the assignment by deactivating the checkbox and saving.
  8. access the shopping cart in the store, an error message is displayed.

Expected result:
The shopping cart can be called up and the product is no longer in the cart and has been removed, or the text "Product is no longer available" is displayed and the product is still in the cart and the checkout is deactivated until the product is removed from the cart by the customer.

Actual result:
The shopping cart is no longer accessible and an error message is displayed.


Uncaught TypeError: Argument 1 passed to OrderDetailsCartThemeContentView::_getCombisId() must be of the type array, null given, called in /GXMainComponents/View/ThemeContentViews/shopping_cart/OrderDetailsCartThemeContentView.inc.php on line 161 and defined in /GXMainComponents/View/ThemeContentViews/shopping_cart/OrderDetailsCartThemeContentView.inc.php:601
Stack trace:
#0 /GXMainComponents/View/ThemeContentViews/shopping_cart/OrderDetailsCartThemeContentView.inc.php(161): OrderDetailsCartThemeContentView->_getCombisId()
#1 /GXMainComponents/View/ThemeContentViews/core/ThemeContentView.inc.php(147): OrderDetailsCartThemeContentView->prepare_data()
#2 /GXMainComponents/View/ThemeContentViews/shopping_cart/ShoppingCartThemeContentView.inc.php(556): ThemeContentView->get_html()
#3 /GXMainComponents/View/ThemeContentViews/shopping_cart/ShoppingCartThemeContentView.inc.php(154): ShoppingCartThemeContentVie


Aktionen #1

Von Till Tepelmann vor mehr als 3 Jahren aktualisiert

  • Thema wurde von Wenn man Artikel mit Attributen im Warenkorb hat, und der Admin die Attribute löscht, dann kann der Warenkorb danach nicht mehr aufgerufen werden zu If you have products with attributes in your shopping cart, and the admin deletes the attributes, then the shopping cart can no longer be accessed geändert
Aktionen #2

Von Daniel Wu vor mehr als 3 Jahren aktualisiert

  • Tags 4.2.0.1 wurde gelöscht
Aktionen #3

Von Ulrich Wenk vor mehr als 3 Jahren aktualisiert

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

Von Ahmed Hamouda vor mehr als 3 Jahren aktualisiert

I can not reproduce actual results on 4.3_develop or 4.2_develop. Only an empty shopping cart is visible without any exceptions.

Aktionen #6

Von Marvin Muxfeld vor mehr als 3 Jahren aktualisiert

  • Status wurde von Anerkannt zu In Bearbeitung geändert
  • Zugewiesen an wurde auf Marvin Muxfeld gesetzt
Aktionen #7

Von Marvin Muxfeld vor mehr als 3 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu 30 geändert
  • Zugewiesen an wurde von Marvin Muxfeld zu Core-Entwickler geändert
  • Zielversion wurde von 133 zu 4.3.3.0 beta1 geändert
  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #8

Von Alexandre Ataides vor mehr als 3 Jahren aktualisiert

  • Zugewiesen an wurde von Core-Entwickler zu Alexandre Ataides geändert
Aktionen #9

Von Alexandre Ataides vor mehr als 3 Jahren aktualisiert

  • Status wurde von 30 zu Testing geändert
Aktionen #10

Von Alexandre Ataides vor mehr als 3 Jahren aktualisiert

  • Status wurde von Testing zu Erledigt geändert
Aktionen #11

Von Alexandre Ataides vor mehr als 3 Jahren aktualisiert

  • Status wurde von Erledigt zu Testing geändert
Aktionen #12

Von Alexandre Ataides vor mehr als 3 Jahren aktualisiert

  • Status wurde von Testing zu Erledigt geändert
Aktionen

Auch abrufbar als: Atom PDF