View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006038 | OXID eShop (all versions) | 4.01. Database handling | public | 2015-02-09 16:22 | 2016-01-15 10:05 |
Reporter | oxbertrand | Assigned To | |||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.9.3 / 5.2.3 | ||||
Fixed in Version | 4.8.10 / 5.1.10 | ||||
Summary | 0006038: Admin backend allows language tags with a dash character, causes shop to crash | ||||
Description | When creating a new language with a dash, e.g. "zh-cn" oder "zh-tw" for different variants of the Chinese language, the shop tries to create database views containing a dash character: [...] for the right syntax to use near '-cn' at line 1] in EXECUTE (DROP VIEW IF EXISTS oxv_oxactions_zh-cn, [...] This causes the shop to stop working. | ||||
Steps To Reproduce | - Create a new entry for a language and use a dash in it's short tag name. - Rebuild the database views. - Open a subpage of the shop. Cannot be reproduced on the start page. | ||||
Additional Information | MySQL Server version is: 5.5.41 PHP version is: 5.4.37 | ||||
Tags | No tags attached. | ||||
Theme | All | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | 5.5 | ||||