View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004581 | OXID eShop (all versions) | 4.08. Cache | public | 2012-10-02 15:14 | 2012-12-10 13:39 |
| Reporter | d3 | Assigned To | |||
| Priority | immediate | Severity | block | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Summary | 0004581: content::getParsedContent() missing oxid argument | ||||
| Description | In certain circumstances content pages contain cached data. For example: view the imprint page saves .....%ox%3A0.php view an other content page loads .....%ox%3A0.php (same file) Both contents have to contain smarty code in it! Since 4.6.0 there is a new method called getParsedContent The method is a wrapper for: oxUtilsView::getInstance()->parseThroughSmarty( $this->getContent()->oxcontents__oxcontent->value ); But we are missing here, the 2nd parameter $sOxid: public function parseThroughSmarty( $sDesc, $sOxid = null, $oActView = null, $blRecompile = false ) So this is better: oxUtilsView::getInstance()->parseThroughSmarty( $this->getContent()->oxcontents__oxcontent->value, $this->getContentId() ); | ||||
| Steps To Reproduce | put some smarty code ([{$oViewConf->getSelfLink()}]) into CMS pages (oxagb, oximpressum, ...). view them after another. both should contain the same text | ||||
| Tags | No tags attached. | ||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
| duplicate of | 0004298 | resolved | saulius.stasiukaitis | Sometimes wrong content loaded on CMS page |