- Issue created by @joevagyok
- Merge request !8Issue #3473535: Clear PHP stat cache containing the file metadata. → (Open) created by joevagyok
We have noticed on our automated testing pipeline after updating to D10.3 the asserted file size was incorrect in ExistingSite test suit.
We identified that the file metadata was cached within the same request by php_stat.
Couldn't reproduce on a local environment.
We do the same tests steps as in the module except it is over ExistingSite test suit.
Call clearstatcache() before resaving the file entity after the copy method.
Look into potential PHP ini configs or environment related differences. We don't know how is this related to the moving from D10.2 to the D10.3 version.
Active
1.0
Code