View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004140 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2012-06-08 12:00 | 2012-06-27 11:47 |
Reporter | FibreFoX | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.6.1 revision 45706 | ||||
Fixed in Version | 4.6.3 revision 47975 | ||||
Summary | 0004140: Generating a PDF ends in wrong filename | ||||
Description | Issue is in admin/order_overview.php if "oxorder__oxbilllname" contains spaces or other "not allowed" characters, the downloaded file ends in some bad filename. | ||||
Steps To Reproduce | Having an order with billname like "Dr. Max Mustermann" Go to admin-area navigate to the order click on pdf-export | ||||
Additional Information | Used Firefox 13. My current workaround: $billname = $oOrder->oxorder__oxbilllname->getRawValue(); $cleaned_billname = str_replace(" ","_", $billname); $cleaned_billname = str_replace(".","_", $cleaned_billname); $cleaned_billname = str_replace(","," ", $cleaned_billname); $sFilename = $oOrder->oxorder__oxordernr->value . "_" . $cleaned_billname . ".pdf"; $sFilename = str_replace(" ","_", $sFilename); | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||