- Issue created by @FeyP
- Merge request !114Issue #3486188: [Regression] Clean up temporary files created by XML data parser plugin → (Open) created by FeyP
- 🇩🇪Germany FeyP
Pushed a quick and dirty fix where the file is deleted in a destructor to the MR.
- Issue was unassigned.
- Status changed to Needs review
5 days ago 11:19am 26 May 2025 - 🇩🇪Germany stefan.korn Jossgrund
One has to say, that this only happens when drupal's temporary directory is different from systems temporary directory (/tmp in most cases).
That is probably a reason why not all users are seeing this problem. But nonetheless this is a serious bug. If you heavily use the XML Plugin it can fill up the disk space.
- Merge request !124Issue #3486188: [Regression] Clean up temporary files created by XML data... → (Open) created by stefan.korn
- 🇩🇪Germany stefan.korn Jossgrund
had some issues with the __destruct variant in a scenario where we use some custom code to start a migration via backend.
So providing an alternative solution without __destruct but inheriting nextSource() function to unlink the temp file there.
I do not say that this solutions is better than the other one, just in our custom setup it works better.
So leaving decision up to maintainers how to fix this.