I have two entities inheriting from one to each other named "Tag" and "Channel"
Channel extends from Tag, and I configured Channel to be cached using a NonStrictReadWriteCachedEntityPersister
@ORM\Cache(usage="NONSTRICT_READ_WRITE")
At first I forgot to use "NONSTRICT_READ_WRITE" in Tag as well.
This resulted in an error message:
Attempted to call an undefined method named "getCacheRegion" of class "Doctrine\ORM\Persisters\Entity\JoinedSubclassPersister".
I think this was just due to the fact that there is no interface for CachedEntityPersisters.
I am not a doctrine expert, but I don't think this is a huge issue to fix.
Hello,
I have two entities inheriting from one to each other named "Tag" and "Channel" Channel extends from Tag, and I configured Channel to be cached using a NonStrictReadWriteCachedEntityPersister
@ORM\Cache(usage="NONSTRICT_READ_WRITE")
At first I forgot to use "NONSTRICT_READ_WRITE" in Tag as well. This resulted in an error message:
Attempted to call an undefined method named "getCacheRegion" of class "Doctrine\ORM\Persisters\Entity\JoinedSubclassPersister".
I think this was just due to the fact that there is no interface for CachedEntityPersisters. I am not a doctrine expert, but I don't think this is a huge issue to fix.