View Issue Details

IDProjectCategoryView StatusLast Update
0004783OXID eShop (all versions)4.07. Source code, Testpublic2012-12-18 15:55
ReporterWBL_BjoernLange 
PriorityurgentSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product VersionPast development 
Target Version4.6.6 revision 54646Fixed in Version4.6.6 revision 54646 
Summary0004783: insufficient check for constant OXID_VERSION_EE
DescriptionI tried unittests for the ce with the new test structure but failed cause

        if ( OXID_VERSION_EE ) :
            $oConfig->setRights( null );
        endif;

from test_utils.php is executed. A not defined "OXID_VERSION_EE" evaluates to the string "OXID_VERSION_EE" and becomes true also.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Activities

aurimas.gladutis

2012-12-18 15:55

reporter   ~0008171

Added additional checking if OXID_VERSION_EE is defined.