View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007767 | OXID eShop (all versions) | 2.1. Master Settings | public | 2025-02-06 13:09 | 2025-02-07 08:38 |
Reporter | mario_lorenz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 7.1.0 | ||||
Summary | 0007767: Naming shop setting "perfParseLongDescinSmarty" is misleading and option is generally obsolete. | ||||
Description | Under Master Settings > Core settings > Performance there is an option "Process Description of Articles and Categories with Smarty ". Several thoughts: 1) Smarty has not been supported since OXID7.1. It should actually say "Run article description and category description with template renderer" 2) The option is currently only used in the ArticleDetailsController, but not for the article description, but for rendering the meta description. In Generell there is no application for the category descriptions. 3) The "running" of the renderer already happens automatically and without asking in the template. see: /views/apex/tpl/page/details/inc/tabs.html.twig -> line 15 {{ include(template_from_string(oLongdesc)) }} see: /views/apex/tpl/page/list/list.html.twig -> line 79 {{ include(template_from_string(actCategory.oxcategories__oxlongdesc)) }} | ||||
Additional Information | Suggestion: Remove the "perfParseLongDescinSmarty" option. Implement the rendering of the article description for the meta description without asking (see method: ArticleDetailsController.php -> method: prepareLongDescription). This uses the same approach as in the article exporter (GenericExportDo.php -> method: prepareLongDescription). Here, rendering also takes place without asking. | ||||
Tags | No tags attached. | ||||
Theme | All | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||