Projekt

Allgemein

Profil

Aktionen

GX-Bug #66570

geschlossen

Divison by Zero auf der Startseite im Shop wenn man VPE nur im Hauptartikel konfiguriert hat und Attribute ohne VPE nutzt

Von Marvin Muxfeld vor etwa 4 Jahren hinzugefügt. Vor fast 4 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Sofort
Zugewiesen an:
Ronald Loyko
Kategorie:
Core
Zielversion:
% erledigt:

100%

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

Ein Attribut VPE wird nicht berücksichtigt, um den Mindestwert eines Produkts mit Attributen zu finden, wenn sein Vpe (Wert) 0 ist. Wenn für das Attribut kein Vpe ausgewählt wurde, wird nur der Vpe-Wert des Produkts verwendet.


Beschreibung

Divison by Zero auf der Startseite im Shop wenn man VPE nur im Hauptartikel konfiguriert hat und Attribute ohne VPE nutzt

Im Hauptartikel eine Verpackungseinheit definieren und einen Wert eintragen
Option "Anzeige VPE" aktivieren
Attribute definieren ohne VPE alles leer lassen
Die Startseite aufrufen
Fehler "Division by Zero" wird angezeigt.

Zusatz:
Die Option GM_SET_OUT_OF_STOCK_ATTRIBUTES (Attributlagerbestand hinter jedem Attribut-Optionswert anzeigen?) muss ebenfalls aktiv sein.


EDIT 06.04.2020

Preconditions:

  • go to Modules > Mordules Center, install Product Options, create a product option with option values
  1. go to Catalog > Packing Unit, create a Packing Unit
  2. go to Catalog > Categories / Products, create a product
  3. in the product, activate 'Show Unit Price', assign the Packing Unit to the product, assign the product options to the product
  4. don't assign any packing units in the product options, only in the main product
  5. the error could possibly be dependant on the setting Shop Settings > Stock Options > Show Stock Attributes TRUE/FALSE, alter this setting if the error doesn't occur
  6. call the starting page of the shop

result:

  • WARNING(2): "Division by zero" is displayed multiple times, starting page is broken, see screenshot

Dateien

vpe_division-by-zero.JPG (595 KB) vpe_division-by-zero.JPG Ulrich Wenk, 06.04.2020 14:19


Zugehörige Tickets

Kopiert von GX-Entwicklung - GX-Bug #66452: Divison by Zero auf der Startseite im Shop wenn man VPE nur im Hauptartikel konfiguriert hat und Attribute ohne VPE nutztErledigtRonald Loyko

Aktionen
Aktionen #1

Von Marvin Muxfeld vor etwa 4 Jahren aktualisiert

  • Kopiert von GX-Bug #66452: Divison by Zero auf der Startseite im Shop wenn man VPE nur im Hauptartikel konfiguriert hat und Attribute ohne VPE nutzt wurde hinzugefügt
Aktionen #2

Von Marvin Muxfeld vor etwa 4 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an wurde von Marvin Muxfeld zu Core-Entwickler geändert
Aktionen #3

Von Ronald Loyko vor etwa 4 Jahren aktualisiert

  • Zugewiesen an wurde von Core-Entwickler zu Ronald Loyko geändert
Aktionen #4

Von Ronald Loyko vor etwa 4 Jahren aktualisiert

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

Von Moritz Bunjes vor fast 4 Jahren aktualisiert

  • Tags stable wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF