View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003171 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2011-08-24 09:25 | 2012-12-10 14:16 |
Reporter | d3 | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.1 revision 38045 | ||||
Fixed in Version | 4.5.3 revision 39087 | ||||
Summary | 0003171: during update subshops are not included | ||||
Description | In every patch/update only the shop with oxshopid 1 gets updated. Other subshops are ignored. | ||||
Steps To Reproduce | for example in 34568.sql: INSERT INTO `oxconfig` VALUES('c20424bf2f8e71271.429555451', '1', 'theme:basic', 'bl_perfLoadTreeForSearch', 'bool', 0x07); INSERT INTO `oxconfig` VALUES('79e417a442934fcb9.117331841', '1', 'theme:basic', 'bl_perfLoadCatTree', 'bool', 0x07); INSERT INTO `oxconfig` VALUES('8563fba1c3936e4e0.645674481', '1', 'theme:basic', 'blLoadFullTree', 'bool', ''); INSERT INTO `oxconfig` VALUES('8563fba1c39367724.92308656123456', '1', '', 'blShowTags', 'bool', 0x07); INSERT INTO `oxconfig` VALUES('1ec42a395d0595ee7741091898848992', '1', 'theme:azure', 'sStartPageListDisplayType', 'select', 0x83CD10B7F09064ED); | ||||
Additional Information | INSERT Queries should have field declarations: from 34568.sql: INSERT INTO `oxconfig` VALUES('1ec42a395d0595ee7741091898848992', '1', 'theme:azure', 'sStartPageListDisplayType', 'select', 0x83CD10B7F09064ED); should be: INSERT INTO `oxconfig` (`OXID`, `OXSHOPID`, `OXMODULE`, `OXVARNAME`, `OXVARTYPE`, `OXVARVALUE`) VALUES('1ec42a395d0595ee7741091898848992', '1', 'theme:azure', 'sStartPageListDisplayType', 'select', 0x83CD10B7F09064ED); | ||||
Tags | Subshops | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
fix: INSERT INTO `oxconfig` (`OXID`, `OXSHOPID`, `OXMODULE`, `OXVARNAME`, `OXVARTYPE`, `OXVARVALUE`) SELECT md5( concat( RAND(), 'bl_perfLoadTreeForSearch', oxshops.oxid, oxshops.oxurl )), oxshops.oxid, 'theme:basic', 'bl_perfLoadTreeForSearch', 'bool', 0x07 FROM oxshops; INSERT INTO `oxconfig` (`OXID`, `OXSHOPID`, `OXMODULE`, `OXVARNAME`, `OXVARTYPE`, `OXVARVALUE`) SELECT md5( concat( RAND(), 'bl_perfLoadCatTree', oxshops.oxid, oxshops.oxurl )), oxshops.oxid, 'theme:basic', 'bl_perfLoadCatTree', 'bool', 0x07 FROM oxshops; INSERT INTO `oxconfig` (`OXID`, `OXSHOPID`, `OXMODULE`, `OXVARNAME`, `OXVARTYPE`, `OXVARVALUE`) SELECT md5( concat( RAND(), 'blLoadFullTree', oxshops.oxid, oxshops.oxurl )), oxshops.oxid, 'theme:basic', 'blLoadFullTree', 'bool', '' FROM oxshops; INSERT INTO `oxconfig` (`OXID`, `OXSHOPID`, `OXMODULE`, `OXVARNAME`, `OXVARTYPE`, `OXVARVALUE`) SELECT md5( concat( RAND(), 'blShowTags', oxshops.oxid, oxshops.oxurl )), oxshops.oxid, '', 'blShowTags', 'bool', 0x07 FROM oxshops; INSERT INTO `oxconfig` (`OXID`, `OXSHOPID`, `OXMODULE`, `OXVARNAME`, `OXVARTYPE`, `OXVARVALUE`) SELECT md5( concat( RAND(), 'sStartPageListDisplayType', oxshops.oxid, oxshops.oxurl )), oxshops.oxid, 'theme:azure', 'sStartPageListDisplayType', 'select', 0x83CD10B7F09064ED FROM oxshops; |