View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003418 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2011-12-06 13:21 | 2012-12-10 13:44 |
| Reporter | boehme | Assigned To | |||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.5.5 revision 40299 | ||||
| Fixed in Version | 4.5.10 revision 44222 | ||||
| Summary | 0003418: multiple oxViewConfig instances created if block.oxifcontent is used | ||||
| Description | Oxids smarty block oxifcontent parses smarty code of a cms snippet with oxUtilsView::parseThroughSmarty. Two parameters are passed to this method: the smarty code and the contentid, the third parameter ($oActView) is optional and not set. With each content block being parsed a new instance of oxViewConfig will be created, because no view has been passed to the parse-method: if ( !$oActView ) { $oActView = oxNew( 'oxubase' ); $oActView->addGlobalParams(); } Normally the oxViewConfig instance is cached in the active view. | ||||
| Tags | No tags attached. | ||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||