Projekt

Allgemein

Profil

Aktionen

GX-Bug #69317

geschlossen

Wrong or confusing enum values for `stockType` of options, additional options, and product variants

Von Mirko Janssen vor mehr als 2 Jahren hinzugefügt. Vor etwa 2 Jahren aktualisiert.

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

0%

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

Enum-Werte für Optionen, Zusatzoptionen und Produkt-Varianten wurden überarbeitet


Beschreibung

For options, additional options (once product options) and product variants it's possible to set a stockType that will define how the given/stored stock is managed in the future (because it's not implemented yet).
The enum values for these three domains aren't consistent and furthermore, some are wrong assigned so that it would result in a different result than expected. Therefore, in all three domains, the enums for the stockType should be changed to the following behaviour:

  • only-positive (once positive or integer): Only positive values are allowed as stock, including zero.
  • all-numbers (once natural): All numbers are allowed as stock.
  • not-managed: The stock is not actively managed, which means that this value is not considered for the determination of the current stock.

Things to be tested:

  • Creation and update of options, additional options, and product variants
  • Gambio Updater (should update old enum values in several DB tables)
  • Documentation

Aktionen

Auch abrufbar als: Atom PDF