- Issue created by @oldspot
- 🇬🇧United Kingdom oldspot
Created MR with potential solution. This worked ok in the tests I've made.
I checked with a normal non-image document too and that didn't cause any issues and simply skipped over the deletion since the 'derivative' files don't exist.
The reason I didn't put it in the ImageImport plugin specifically is because you can still import images with the base FileImport plugin (as it was in our case).
- Status changed to Needs review
about 1 year ago 3:38pm 9 February 2024 - Status changed to Needs work
about 1 month ago 10:00am 5 March 2025 - 🇫🇷France duaelfr Montpellier, France
Thank you for your contribution on this module!
I first thought it should be in the ImageImport plugin but I then saw your explanation and looked back at the code and saw how much more complicated it would be, so I think it's okay that way.
The MR doesn't apply on 2.0.x, though, so it needs to be rerolled (and maybe even moved to 3.0.x). - 🇫🇷France duaelfr Montpellier, France
Rerolled on 2.1.x (sadly this version has no release so we cannot tag the issue on it).
Patch added for composer.