Project

General

Profile

GX-Bug #68096

Artikel mit GX-Customizer Set ohne Eigenschaften und ohne Attribute lassen sich nicht in den Korb legen / Products with GX-Customizer set without properties and without attributes cannot be put into the basket

Added by Till Tepelmann 12 months ago. Updated 5 months ago.

Status:
Erledigt
Priority:
Sofort
Assignee:
Category:
Core
Target version:
% Done:

0%

Estimated time:
Steps to reproduce:
Betroffene Versionen:
4.3.1.0, 4.3.2.0
Release Notes Langtext:

Artikel mit GX-Customizer Set ohne Eigenschaften und ohne Attribute lassen sich jetzt in den Korb legen, auch wenn die Cusomizer Position auf "GX-Customizer-Set wie im Template platziert anzeigen" gestellt ist

Tags:

Description

Artikel mit GX-Customizer Set ohne Eigenschaften und ohne Attribute lassen sich nicht in den Korb legen

Kann wie folgt reproduziert:

  1. Unter "Artikel->Customizer" ein Set anlegen, muss nur ein Feld enthalten
  2. Unter Einstellungen->Lagerwavaltung->Bestand vor dem Warenkorb prüfen" aktiveiren
  3. Unter Einstellungen->GX-Customizer->Set Position auf "Wie im Template platziert anzeigen" auswählen
  4. Arikel bearbeiten oder anlegen
  5. GX-Customizer Set hinzufügen
  6. Artikel im Shop aufrufen
  7. Artikel in den Korb legen

Erwartetes Ergebnis:
Artikel lässt sich ohne Probleme in den Warenkorb legen

Tatsächliches Ergebnis:
Artikel lässt sich nicht in den Korb legen, die Ladeanimation läuft unendlich, es wird ein Fehler 500 in der Browserconsole angezeigt


Products with GX-Customizer set without properties and without attributes cannot be put into the basket

Can be reproduced as follows:

  1. under "Product->Customizer" create a set, must contain only one field.
  2. under settings->stock management->check stock before shopping cart" aktiviren
  3. under Settings->GX-Customizer->Set Position select "Show as placed in template
  4. edit or create article
  5. add GX-Customizer set
  6. access product in store
  7. add product to basket

Expected result:
Product can be added to the basket without any problems.

Actual result:
The product cannot be added to the basket, the loading animation runs indefinitely, an error 500 is displayed in the browser console.


[2020-12-22 13:35:49 | ERROR] Uncaught Gambio\Shop\Attributes\SellingUnit\Database\Exceptions\AttributeDoesNotExistsException: 0 not linked to the product 21475 in /GambioShop/Attributes/SellingUnit/Database/Repository/Readers/Reader.php:68
context:
message: Uncaught Gambio\Shop\Attributes\SellingUnit\Database\Exceptions\AttributeDoesNotExistsException: 0 not linked to the product 21475 in /GambioShop/Attributes/SellingUnit/Database/Repository/Readers/Reader.php:68
Stack trace:
#0 /GambioShop/Attributes/SellingUnit/Database/Repository/Repository.php(50): Gambio\Shop\Attributes\SellingUnit\Database\Repository\Readers\Reader->getAttributeBy()
#1 /GambioShop/Attributes/SellingUnit/Database/Service/ReadService.php(52): Gambio\Shop\Attributes\SellingUnit\Database\Repository\Repository->getAttributeBy()
#2 /GambioShop/Attributes/SellingUnitWeight/Database/Listener/OnGetSellingUnitWeightEventListener.php(51): Gambio\Shop\Attributes\SellingUnit\Database\Service\ReadService->getAttributeModelBy()
#3 /GambioCore/Event/EventDispatcher.php(62): Gambio\Shop\Attributes\SellingUnitWeight\Database\Listener\OnGetSellingUnitWeightEventListener->__invoke()
#4 /GambioShop/SellingUnit/Unit
code: 1
file: /GambioShop/Attributes/SellingUnit/Database/Repository/Readers/Reader.php

History

#1

Updated by Moritz Bunjes 12 months ago

  • Tags set to 4.3.2.1
#2

Updated by Marvin Muxfeld 12 months ago

  • Status changed from Gemeldet to In Bearbeitung
  • Assignee set to Marvin Muxfeld
#3

Updated by Till Tepelmann 12 months ago

  • Description updated (diff)
  • Assignee changed from Marvin Muxfeld to Core-Entwickler
  • Target version changed from 133 to 4.3.2.1
#4

Updated by Marvin Muxfeld 12 months ago

  • Status changed from In Bearbeitung to 30
  • Release Notes Langtext updated (diff)
#5

Updated by Jonatas Fischer 12 months ago

  • Assignee changed from Core-Entwickler to Jonatas Fischer
#6

Updated by Jonatas Fischer 12 months ago

  • Status changed from 30 to Testing
  • Assignee changed from Jonatas Fischer to Core-Entwickler
#7

Updated by Moritz Bunjes 12 months ago

  • Assignee changed from Core-Entwickler to Moritz Bunjes
#8

Updated by Moritz Bunjes 12 months ago

  • Status changed from Testing to Erledigt
#9

Updated by Marvin Muxfeld 11 months ago

  • Tags changed from 4.3.2.1 to 4.3.2.1, stable
#10

Updated by Moritz Bunjes 5 months ago

  • Tags changed from 4.3.2.1, stable to stable

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 5 MB)