View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001768 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2010-04-14 11:21 | 2012-12-10 13:23 |
Reporter | d3 | Assigned To | |||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.2.0 revision 23610 | ||||
Fixed in Version | 4.3.1 revision 27257 | ||||
Summary | 0001768: Stock reduced again with every "$oOrder-Save();" | ||||
Description | In 4.2.0/4.3.0 the stock is reduced in oxorderarticle::save(). This method checks "$this->isNewOrderItem()" to start stock reduce. If modules (like ipayment) write additional stuff to order the stock reduced again with every "$oOrder-Save();" ! This will be fixed in oxorderarticle::save() with an additonal $this->setIsNewOrderItem(false); after updateArticleStock(). | ||||
Additional Information | All partners need to inform about chances like this!! OXID should split the update documentation in two parts. One for customers with main changes and one for programmers with more technical details. I lost one day to find this bug and the shopowner have to make an inventory because many article stocks are wrong! | ||||
Tags | Order | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||