View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005321 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2013-07-30 12:09 | 2015-04-15 16:00 |
Reporter | tomas_liubinas | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 4.7.7 / 5.0.7 | ||||
Summary | 0005321: Loading of articles is not performed in other subshops | ||||
Description | Articles are not loaded from any other subshop except the active one. | ||||
Steps To Reproduce | Create the second empty shop on the demo shop. Try to execute the following code when active shop is the empty one: $oArt = oxNew("oxarticle"); $oArt->load('09651d283fce7bcb313debfad743121f'); The product is not loaded. | ||||
Additional Information | The problem is that product data is loaded from db view. So the quick fix (for the hotfix) would be enabling the core table usage in oxArticle::_loadFromDb() method: $this->_blForceCoreTableUsage = true; (and restoring it back to the previously set value) in the same way as it's done in oxBase::load() method. The correct fix: Replace $this->_loadFromDb() usage with the parent::load() usage in oxArticle::load() method as the intention of these methods are completely the same. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0005424 | resolved | aurimas.gladutis | Product over the URL is accessible even if product is not assigned to the shop |
related to | 0004409 | resolved | tomas_liubinas | Session sharing between subshops with different domains does not work |