View Issue Details

IDProjectCategoryView StatusLast Update
0006050OXID eShop (all versions)2. ----- eShop backend (admin) -----public2015-07-08 12:10
ReporterFETTUNDROSIG 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.9.3 / 5.2.3 
Target VersionFixed in Version4.9.5 / 5.2.5 
Summary0006050: Amount of product variant stock value gets subtracted twice
DescriptionAfter installing a fresh CE 4.9.3 version we noticed that stock values of product variants where subtracted twice.
Steps To ReproduceSetup:

Master Settings/Core Settings/Stock:

* Activate Stock Management
* Don't allow negative stock values

Master Settings/Core Settings/Private Sales:

* Enable cart expiration to 1200 seconds

Use case that will show the bug:

* Set stock of article 3552-6 to "60"
* Frontend: Put 20 pieces of 3552-6 into the basket and finish the buying process
* Stock value is "40" as expected
* Open the order of this sale and click on tab "Main"
* Stock value has dropped to "20" which is unexpected
Additional InformationThis will not happen with disabled cart expiration.
TagsNo tags attached.
ThemeAzure
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Activities

hendrikfreytag

2015-02-19 17:38

reporter   ~0010680

http://forum.oxid-esales.com/showthread.php?t=26020

QA

2015-02-19 18:04

administrator   ~0010681

Also reproducible on 5.1.9.

It is important that you enable cart expiration to 1200 seconds as mentioned in description.