View Issue Details

IDProjectCategoryView StatusLast Update
0003477OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:16
Reportertimobraun 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version4.6.0_beta3 
Summary0003477: Check on oxactive field ( oxarticles__oxactive ) in subshops returns always 0 no matter if it's set to 1 or not
DescriptionWhen you are in a Subshop and try something like this:

if($oArt->oxarticles__oxactive->value == 1){
  do something;
}

it won't do anything because $oArt->oxarticles__oxactive->value will always be 0.
If you are in a master shop it will return the right value.
Steps To ReproduceI tried this in the Admin interface. First you have to select a Subshop.
Just dump the value i.e. in onChange method of an oxarticle object.

I got this issue since version 4.5.5.
TagsSubshops
Theme
Browser
PHP Version
Database Version

Activities

svetlana

2012-01-11 17:16

reporter   ~0005602

@developers please check from the source code.