- First commit to issue fork.
- Merge request !4Draft: Resolve #3115477 "Add integration with purge" β (Open) created by sjpeters79
- π¨π¦Canada sjpeters79
Added a patch that will invalidate the cache tags for the replaced file thus invoking drupal to purge the required files cache and the cache url for the file.
- π¨π¦Canada sjpeters79
Since the merge issue module has been closed as working as designed and they are pushing it to a particular purger instead, can we review my patch and see if we can get that merged in?
- Status changed to Needs work
7 months ago 9:10am 26 August 2024 - π§πͺBelgium joevagyok
Let's make a merge request out of this and an automated test!
- First commit to issue fork.
- π¦πΊAustralia darvanen Sydney, Australia
Realised I should have rebased the opened (empty) MR before applying the patch. Everything should be in order now.
- π¨π¦Canada vincent signoret
I encountered this error with the patch:
TypeError: media_entity_file_replace_file_update(): Argument #1 ($entity) must be of type EntityInterface, Drupal\file\Entity\File given in media_entity_file_replace_file_update() (line 203 of modules/contrib/media_entity_file_replace/media_entity_file_replace.module).
It occurs when 'Overwrite original file (.pdf)' is checked."