View Issue Details

IDProjectCategoryView StatusLast Update
0007407module Visual CMSmodule Visual CMS - subpublic2023-01-26 16:10
Reportertgravel Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Product Version3.3.2 
Summary0007407: Wrong extends call for PreviewController
DescriptionThe Preview Controller has the extends call
...
class PreviewController extends ContentController
...

in
FILE ddoe/visualcms-module/Application/Controller/PreviewController.php

But If you extends the ContentController in your module and the Module Chain for Application\Controller\ContentController do not have the last entry "OxidEsales\VisualCmsModule... then you can't open the preview in the admin panel.

PLEASE change the line in
class PreviewController extends \OxidEsales\Eshop\Application\Controller\ContentController
Steps To Reproduce1. Create a Module that extends the ContentController.
2. Open the Visual CMS section in the admin panel
3. Open a content
4. click on the preview button

In the log file comes an error like this:
" OXID Logger.ERROR: Class 'Alko\VisualCms\Application\Controller\ContentController_parent' not found ["[object] (Error(code: 0): Class 'Alko\\VisualCms\\Application\\Controller\\ContentController_parent' not found at /var/www/oxideshop/releases/1/modules/alko/visualcms/Application/Controller/ContentController.php:10)\n[stacktrace]\n#0 /var/www/oxi...."
TagsNo tags attached.

Relationships

duplicate of 0007044 resolvedanton.fedurtsya PreviewController breaks extension chain 

Activities

There are no notes attached to this issue.