View Issue Details

IDProjectCategoryView StatusLast Update
0004205OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:27
Reportersvetlana 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.0_5.0.0_beta1 
Target VersionFixed in Version4.7.0_5.0.0_beta1 
Summary0004205: Stok value for new product should be 0
DescriptionOn 4.6. version after new product is created the value of stock by default is -1.
Should be 0.
Steps To Reproduce1.Create new product in Admin-> Administer products->Product
2.Go to stock tab.
3.See the stock value is -1
TagsProducts
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Activities

arturas.sevcenko

2012-07-02 10:33

reporter   ~0007028

Last edited: 2012-07-02 16:28

View 4 revisions

The bug is fixed for the upcoming version, however the fix will not be included to the 4.6 patches. If you want to fix it for your local version, you can change the fields default value to "0", by running the following query: " ALTER TABLE `oxarticles` CHANGE `OXSTOCK` `OXSTOCK` DOUBLE NOT NULL DEFAULT '0' ". This solution works for any version.