View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002702 | OXID eShop (all versions) | 4.06. Language and translations | public | 2011-04-06 10:51 | 2011-08-17 10:07 |
Reporter | Helmut L. | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0_beta4 | ||||
Fixed in Version | 4.5.2 revision 38481 | ||||
Summary | 0002702: Views are not updated if a language is added through a shell script | ||||
Description | If you call the method addNewLangToDb from oxDbMetaDataHandler, the last method called is updateViews. In this method the views are only updated if the session variable "malladmin" is set. But if you call this method from a shell script there is no session at all and thus the views are never updated. | ||||
Steps To Reproduce | Create a shell script and call addNewLangToDb. Afterwards there will be new language fields but the views are not changed. $oDbMeta = oxNew( "oxDbMetaDataHandler" ); $oDbMeta->addNewLangToDb(); | ||||
Additional Information | Enterprise Edition /core/oxdbmetadatahandler.php, line 463 | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0002471 | resolved | alfonsas_cirtautas | Not possible to create more than 8 languages |