Project

General

Profile

Actions

GX-Bug #69317

closed

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

Added by Mirko Janssen almost 2 years ago. Updated over 1 year ago.

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

0%

Estimated time:
Steps to reproduce:
Betroffene Versionen:
4.5.1.0 RC1
Release Notes Langtext:

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


Description

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

Actions #1

Updated by Mirko Janssen almost 2 years ago

  • Status changed from Gemeldet to In Bearbeitung
Actions #2

Updated by Mirko Janssen almost 2 years ago

  • Description updated (diff)
Actions #3

Updated by Mirko Janssen almost 2 years ago

  • Subject changed from Wrong or confusing enum values for `stockType` of options and product variants to Wrong or confusing enum values for `stockType` of options, additional options, and product variants
Actions #4

Updated by Mirko Janssen almost 2 years ago

  • Description updated (diff)
  • Status changed from In Bearbeitung to Testing
  • Assignee deleted (Mirko Janssen)
  • Target version set to 4.5.1.0
  • Release Notes Langtext updated (diff)
Actions #6

Updated by Alexandre Ataides almost 2 years ago

  • Assignee set to Alexandre Ataides
Actions #7

Updated by Alexandre Ataides almost 2 years ago

  • Assignee deleted (Alexandre Ataides)
Actions #8

Updated by Ahmed Hamouda almost 2 years ago

  • Assignee set to Ahmed Hamouda
Actions #9

Updated by Ahmed Hamouda almost 2 years ago

Running ´yarn next:build´ is essential for testing the new changes.

Actions #10

Updated by Ahmed Hamouda almost 2 years ago

  • Status changed from Testing to Erledigt
Actions #11

Updated by Daniel Wu over 1 year ago

  • Tags deleted (4.5.1.0_Final)
Actions

Also available in: Atom PDF