View Issue Details

IDProjectCategoryView StatusLast Update
0002875OXID eShop (all versions)2. ----- eShop backend (admin) -----public2012-12-10 15:34
Reporterarvydas_vapsva 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Target VersionFixed in Version4.5.1 revision 38045 
Summary0002875: oxConfig::mustAddShopIdToRequest() does not check admin state (EE only)
DescriptionoxConfig::mustAddShopIdToRequest() should check if admin in condition:

current:

if ( $this->getShopId() > 1 && !$this->getConfigParam( 'sMallShopURL' ) ) {
...
}

should be:

if ( $this->getShopId() > 1 && ( $this->isAdmin() || !$this->getConfigParam( 'sMallShopURL' ) ) ) {
...
}
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0002925 resolveddainius.bigelis Changes in CMS Pages of a subshop are saved for all Subshops. 
related to 0002842 resolvedvilma_liorensaityte wrong shopid in admin 
related to 0003097 resolvedLinas Kukulskis Shopswitch in admin when selecting listitem (e.g. article) 

Activities

arvydas_vapsva

2011-05-13 13:59

reporter   ~0004570

missing isAdmin check couses shop switching issues in admin