View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006448 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2016-07-12 14:46 | 2024-03-20 15:02 |
Reporter | suabo | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.9.0 / 5.2.0 | ||||
Summary | 0006448: Renaming of pdfblock and pdfarticlesummary | ||||
Description | oe/invoicepdf: The renaming and exclusion of the the classes cause many problems with third party modules on update after deleting the old myorder.php or resetting module configuration on db. The exclusion of the two classes in two separated files is the right step and is längst überfällig. But the renaming of the two classes cause many problems. The reason why this bug was hidden for that long is the fact (other bug) that the updateApp won't delete old files or module configuration from db. The Shop will still load the old invoicepdf module from oe/invoicepdf/myorder.php, where the old classes are present. But if you have to reset your module configuration with some hard SQL Query: "delete from oxconfig where oxvarname like '%module%';" you will run into the troubles with missing pdfblock. | ||||
Steps To Reproduce | 1. Update from Shop Version 4.8.x or earlyer to 4.9.x or 4.10.0 2. Reset Module configuration in db: "delete from oxconfig where oxvarname like '%module%';" 3. Payment Modules get Problems with pdf generation, cause of missing pdfblock class | ||||
Additional Information | Please Rename the two classes back to PdfBlock and PdfArticleSummary. I didn't get the point of this change! This change will face all payment module contribs to change their code. As well as all the shops who got custom modules on the classes to make some changes in the design or someting. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | All | ||||
Database Version | All | ||||
|
Before Updating OXID eShop you have to deactivate all modules. After Updating from 4.8.x to 4.9.x / 4.10.0 and activating the module invoice, the following module settings were stored into database oxconfig table. oxorder oe/invoicepdf/myorder oe/invoicepdf/models/invoicepdfoxorder order_overview oe/invoicepdf/controllers/admin/invoicepdforder_overview |
|
Should be like in full installation oxorder oe/invoicepdf/models/invoicepdfoxorder order_overview oe/invoicepdf/controllers/admin/invoicepdforder_overview |
|
Workaround Delete modules/oe/invoicepdf/myorder.php. In admin -> installed shop-modules you will be asked to delete all registered module information and saved configuration settings? If YES oxorder => oe/invoicepdf/myorder will be deleted. |