View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004785||OXID eShop (all versions)||1.11. Private Sales, Invitations||public||2012-12-09 14:24||2021-03-19 10:54|
|Status||resolved||Resolution||unable to reproduce|
|Product Version||4.7.1 / 5.0.1 revision 52468|
|Target Version||Fixed in Version|
|Summary||0004785: oxstock is increased after expiry of reservation|
|Description||If a product is set to oxstockflag = standard and oxstock = 0 it can usually be ordered (or pre-ordered) in oxid eshop.|
If "private sales" is activated, a reservation will be made to the product by descreasing the oxstock amount by 1.
If the oxstock amount, as in this case, is already 0 and setting "allow negative stock amounts" is disabled, the oxstock amount will not be decreased, it remains on 0 instead.
Now, if the basket expires, the oxstock is set to 1.... which is 1 more than there has originally been.
|Steps To Reproduce||Set a product to oxstock = 0 and oxstockflag = standard|
Activate Private Sales
Make sure negative stock amounts are disabled
Put product with oxstock = 0 into basket
Wait until basket expires
See stock amount in admin, and find it on oxstock = 1
Reminder sent to: henrik.steffen
Sorry, but we cannot reproduce the issue on 5.0.1 versions eShop. Let's make it clear that we do everything the same way:
1. We set a product (1402) to oxstock = 0 and Delivery Status = standard;
2. "Private Sales Login" is Enable
3. Allow negative Stock Values - is off
4. Need to put product (1402) with oxstock = 0 into basket
5. Then Wait until basket expires
6. And then see stock amount in admin, and find it on oxstock = 0, oxstock is not set to 1
Could you please try to reproduce that on our demo shops:
http://demoshop.oxid-esales.com/community-edition/ ? Maybe some other special options are turned on?
||Indeed, I can't reproduce it now in 4.7.1 - I tested in 4.5.9. Seems like it has been fixed.|
Unfortunately we can't reproduce such issue nor on 4.6. neither on 5.0.0 versions. Probably is fixed with other change. If in the future this bug will be reproduced please bug status change to "Reopen". And please written for more details how bug need reproduce.