View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005942 | OXID eShop (all versions) | 2.6. Administer orders | public | 2014-10-30 23:26 | 2015-01-12 17:19 |
Reporter | Henning Kockerbeck | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.9.0 / 5.2.0 | ||||
Target Version | 4.9.3 / 5.2.3 | Fixed in Version | 4.9.3 / 5.2.3 | ||
Summary | 0005942: Delivery cost rule with 'size' break tab in order administration | ||||
Description | If a delivery cost rule that deals with an articles size is in effect, one of the tabs in the order management is broken. Instead of showing basic information about the order, the "Stamm" tab (German localization) shows the shops start page. | ||||
Steps To Reproduce | 1.) Make sure that a delivery cost rule that deals with an articles size (in the condition) is in effect 2.) In the backend, navigate to list of orders 3.) Choose any order 4.) Try to switch to "Stamm" tab (second tab from the left) | ||||
Additional Information | Refer to http://forum.oxid-esales.com/showthread.php?p=151441#post151891 and following as well. It looks like oxdelivery.php (line 246) tries to ask an object of class oxOrderArticle for the article's size, which oxOrderArticle does not know about. Instead, oxdelivery.php should probably get the oxOrderArticle's oxArticle and ask that about the size. | ||||
Tags | No tags attached. | ||||
Theme | All | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Check for object type added to oxDelivery::getDeliveryAmount if ($oProduct->isOrderArticle()) { $oProduct = $oProduct->getArticle(); } Same problem existed for weight and size. |
|
https://github.com/OXID-eSales/oxideshop_ce/commit/fbd824de2d2678326a2ca671e2bd9e7e3ceaba35 |