Projekt

Allgemein

Profil

GX-Bug #67990

Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert

Es kann passieren, dass Eigenschaften-Artikel Artikel mit Attribute und Eigenschaften können nicht zuverlässig aus dem Warenkorb gelöscht werden. 

 Kann wie folgt reproduziert werden: 

 1. Artikel anlegen 
 2. Attribut anlegen z.B. "Farbe" 
 3. Attributewerte anlegen z.B. "rot" und "grün" 
 4. Attribute "rot" und "grün" einen Artikel zuordnen 
 5. Artikel im Shop aufrufen 
 6. Artikel in den Korb legen 
 7. zum Warenkorb nicht eindeutig identifiziert werden gehen 
 8. Artikel versuchen zu löschen 

 Erwartetes Ergebnis: 
 Artikel wird aus dem Korb gelöscht und damit der Identifier falsch ist, um ihn löschen oder über den Produktlink direkt aufrufen zu können. Ursache Warenkorb wird aktualisiert und der Artikel ist ein fehlerhafter SQL-Befehl, der die combi_id nicht zuverlässig ermittelt. Welche Konfiguration genau benötigt wird, um in den Fehler mehr zu laufen, sehen, der Korb ist leider unbekannt. Die Korrektur danach leer 

 Tatsächliches Ergebnis: 
 Artikel wird beim Löschen nicht gelöscht, nach dem Aktualisieren des Warenkorbes bleibt der Artikel im Merge Request hat jedenfalls bei mehreren Kunden das Problem gelöst. Korb 

 -------- 

 It can happen that property Products with attributes and properties cannot be reliably deleted from the shopping cart. 

 Can be reproduced as follows: 

 1. create product 
 2. create attribute e.g. "color 
 3. create attribute values e.g. "red" and "green 
 4. assign attributes "red" and "green" to a product 
 5. access products in the store 
 6. place the product in the basket 
 7. go to the shopping cart are not clearly identified 
 8. try to delete products 

 Expected result: 
 Product is deleted from the basket and therefore the identifier basket is wrong, so that it can be deleted or accessed directly via updated and the product link. The cause is a faulty SQL command that does not reliably determine no longer visible, the combi_id. Exactly which configuration basket is needed to run into the error empty 

 Actual result: 
 Product is unfortunately unknown. Anyway, not deleted when you delete it, after updating the correction shopping cart the product remains in the Merge Request has solved the problem for several customers. cart 

 Translated with www.DeepL.com/Translator (free version) 

 **Update** 
 Moritz can provide an SQL dump for testing the fix for products with property combination in the cart. The attribute problem is not fixed yet. 
 MR: https://sources.gambio-server.net/gambio/gxdev/-/merge_requests/832

Zurück