We got this problem updating from v3 to last v4.
In backend:
In frontend (website):
instA->getObjectB()->getWysiwyg())The bug:
If instA is loaded a first time or fresh cache all is ok.
But after we change just some words in the wysiwyg of instB object, the old datas of instB are used. Cache need to be flush manually or we need to manually save instA (even if we change nothing on it) to clear the cache and display new words of instB wysiwyg.
In v3 and maybe some v4, there was not this problem, even without lazy loading the cache was automatically clearing the sub-object cache when we update those sub-object.
This problem occurs only when lazy loading is not checked.
I hope i manage to explain the problem. If you need more information I will be happy to give somes.
Thnaks a lot.
Thanks for reporting. As we needed to switch the way cache-items are serialized (see #1005) the parent object cache item didn't contain child object tags anymore and its cache was never cleared on a child update.
@Yivan Could you check if the change above fixes the issue?
Great, it works for me now. Many thanks for solving this issue! It's necessary to clear once the total cache - afterwards it will work as expected with this patch!
Thanks maff!
All is ok now.
Most helpful comment
Thanks for reporting. As we needed to switch the way cache-items are serialized (see #1005) the parent object cache item didn't contain child object tags anymore and its cache was never cleared on a child update.
@Yivan Could you check if the change above fixes the issue?