View Issue Details

IDProjectCategoryView StatusLast Update
0003481OXID eShop (all versions)1.04. Content, static (register, contact etc.) pagespublic2012-03-27 15:32
Reporterboehme Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.5 revision 40299 
Fixed in Version4.6.0_RC1 
Summary0003481: smartyblock oxifcontent executes content even if requested oxcontent-object is inactive
DescriptionIn smarty blockfunction oxifcontent:
            if ( $oContent && $oContent->oxcontents__oxactive->value ) {
                $smarty->assign($sObject, $oContent);
                $blLoaded = true;
            }
This codesnippet assigns the oxContent-object to smarty only if it is active (which is correct). If it was loaded successful $blLoaded is already true and the content of the smarty block will be executed without assigning the oxContent-object. This behavior can easily result in fatal errors.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

There are no notes attached to this issue.