View Issue Details

IDProjectCategoryView StatusLast Update
0006448OXID eShop (all versions)2.3. Extensions (modules, themes)public2024-03-20 15:02
Reportersuabo Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.9.0 / 5.2.0 
Summary0006448: Renaming of pdfblock and pdfarticlesummary
Descriptionoe/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 Reproduce1. 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 InformationPlease 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.
TagsNo tags attached.
Attached Files
After_Update.JPG (59,872 bytes)   
After_Update.JPG (59,872 bytes)   
Delete_myorder.JPG (28,061 bytes)   
Delete_myorder.JPG (28,061 bytes)   
FullInstallation.JPG (64,904 bytes)   
FullInstallation.JPG (64,904 bytes)   
ThemeNot defined
BrowserNot defined
PHP VersionAll
Database VersionAll

Activities

QA

2016-07-13 13:56

administrator   ~0011689

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

QA

2016-07-13 14:05

administrator   ~0011690

Should be like in full installation

    oxorder
        oe/invoicepdf/models/invoicepdfoxorder
    order_overview
        oe/invoicepdf/controllers/admin/invoicepdforder_overview

QA

2016-07-13 14:16

administrator   ~0011691

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.