View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007407 | module Visual CMS | module Visual CMS - sub | public | 2023-01-26 09:55 | 2023-01-26 16:10 |
Reporter | tgravel | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 3.3.2 | ||||
Summary | 0007407: Wrong extends call for PreviewController | ||||
Description | The 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 Reproduce | 1. 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...." | ||||
Tags | No tags attached. | ||||
duplicate of | 0007044 | resolved | anton.fedurtsya | PreviewController breaks extension chain |