View Issue Details

IDProjectCategoryView StatusLast Update
0003279OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:16
ReporterHelmut L. 
Status resolvedResolutionfixed 
Product Version4.5.2 revision 38481 
Target VersionFixed in Version4.6.0_beta2 
Summary0003279: getDir returns path to resources for first shop in every subshop
DescriptionThe getDir function searches if there is a version of a file for the current shop and language combination, but if it doesn't find a version for the current shop it always search for a version for the first shop.
Thus if you have a file which should only be used in the first shop, it is used in every shop.
Steps To ReproduceCreate at least one subshop.
Create a change for the first shop (for example /out/basic/1/tpl/_header.tpl or /out/azure/1/tpl/layout/header.tpl).

If you open the first shop you will see the changes for this shop, but if you open any of the subshops you will still see the changes for the first subshop.
Additional InformationIn oxconfig.php lines 1236 - 1244 need to be removed.
PHP Versionany
Database Versionany



2011-11-21 15:57

reporter   ~0005422

we reproduced this problem only when subshop directory is empty, it is why we reduced bug severity.


2011-12-13 13:22

reporter   ~0005485

Updated out directory file path search for sub shops. Do not search for files in the base shop, only if it's parent shop.