This topic contains 3 replies, has 2 voices, and was last updated by Dima Makaruk 6 years, 11 months ago.
- Topic
When updating extended entity cache, i have following bihavior:
12345678910111213141516171819dimonixx$ php app/console oro:entity-config:cache:clearClear the entity config cachedimonixx$ php app/console oro:entity-extend:cache:clearClear extended entity cacheDump the configuration of extended entities to the cacheClear entity metadata cacheWarm up entity metadata cacheWarm up entity aliases cachedimonixx$ php app/console oro:entity-extend:cache:clearClear extended entity cacheDump the configuration of extended entities to the cacheClear entity metadata cacheWarm up entity metadata cache[ReflectionException]Property .......\Entity\AttributeValue::$category does not existThe property category is an extended one.
Here is the generated extended class:
12345678910111213141516171819202122232425262728293031323334353637383940abstract class ......._AttributeValue implements \Oro\Bundle\EntityExtendBundle\Entity\ExtendEntityInterface{protected $serialized_data;protected $product;protected $category;public function setSerializedData($value){$this->serialized_data = $value; return $this;}public function setProduct($value){$this->product = $value; return $this;}public function setCategory($value){$this->category = $value; return $this;}public function getSerializedData(){return $this->serialized_data;}public function getProduct(){return $this->product;}public function getCategory(){return $this->category;}public function __construct(){}}What could cause such a behavior ?
extend-entity cache warmup doesn’t fail if it’s run directly after entity-config cache clear.
The forum ‘OroPlatform’ is closed to new topics and replies.