View Issue Details

IDProjectCategoryView StatusLast Update
0001211OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:16
Reporterandreas_ziethen Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.1.4 revision 21266 
Summary0001211: parameter shp overwrites domain dependent shop id
DescriptionIf you have shop-urls with for example "/shp=2" then the logic in oxconfig::getShopId() takes this one as actual shop-id instead of the domain-dependent shop-id.

I think this should be changed, cause e. g. it leads to big problems if shop-structure and shop-ids have changed but google still keeps some links with the old shp-parameter. If there are explicit domains for subshops then I think the domain should ALWAYS overrule any other shop-id parameter (appart from admin access).
TagsSubshops
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

dainius.bigelis

2009-08-19 17:05

reporter   ~0001460

Reminder sent to: andreas_ziethen

Hi,

Basically this parameter "shp" should not be used in the url. Do you get this in default shop version (if yes - please tell where, in what case), or is it appended by some module, which is installed in the shop?

Best regards,

dainius.bigelis

2009-08-27 08:42

reporter   ~0001534

Reminder sent to: andreas_ziethen

Hi,

The basic idea is clear: you want that domain would have higher priority than ShopId.
But the problem is - that if you want to know the domain of the shop - you need to have it's ShopID. And in this case - when you are working in some shop X with it's own domain, but overriding some other shops ID using "shp" in the url (what basically - shouldn't be there) - it get's confused.
Question - is this "shp" parameter in url is really needed or not, because in this case it's probably implemented in some modules.
To have requested behavior - it would need changes in some base functionality, and is more like a feature request. So for now the entry here is closed and the request is moved to customers whishlit for deeper consideration.

Best regards,

andreas_ziethen

2009-08-31 15:43

reporter   ~0001580

Hi,

sorry, I did not see your questions immediately.

This appears when there's a migration from EE 2.7 to EE 4. Because then very often you do have URLs with "shp=..." in the Google index.

Best regards,
Andreas

dainius.bigelis

2009-09-07 09:19

reporter   ~0001664

Thank you for an answer. Now it's clear about this parameter. But it's still hard to find solution for this case, especially when this is affected by data stored outside. We'll consider how this can be solved. For now it still remains in customers whishlist.