View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007217 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2021-03-09 09:50 | 2021-07-30 10:14 |
Reporter | d3 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 6.2.3 | ||||
Fixed in Version | 6.2.5 | ||||
Summary | 0007217: Save Remarks loses oxcreate date | ||||
Description | When I change and save an existing history entry (Remark) in the admin area, the previously set oxcreate date is removed. As this is a sorting criterion, the Remark entry is now sorted incorrectly. Since the cause is in the preformatting of the create date, it may be that the behaviour only occurs with deviating date formats (e.g. dd.mm.YYY). | ||||
Steps To Reproduce | - Open the admin panel - set the German date format - load an order / a user with history entries - change the history entry and save it - check the oxcreate value in the database | ||||
Additional Information | The cause is in the pre-formatting of the date value. But instead of just changing the value, an incomplete field object is set. However, this is now missing the field type that ensures the appropriate back formatting when saving. Thus, the database receives incorrectly formatted values and rejects the field content. "Data truncation: Incorrect datetime value: '16.04.2019 15:24:41' for column 'OXCREATE'" I will create a pull request for this. | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
https://github.com/OXID-eSales/oxideshop_ce/pull/857 |
|
-- es -- |
|
The suggested pull request merged to b-6.2.x and up. Will be available with oxideshop CE 6.7.1 component. |