dkan
dkan copied to clipboard
Resource directories are not removed after file import
https://github.com/GetDKAN/dkan/blob/2.x/modules/datastore/src/Plugin/QueueWorker/Import.php#L137
Steps To Reproduce
- Create a dataset with a csv distribution
- Run cron
- Check sites/default/files/resources/
- Confirm the empty directory for your distribution is still there
Expected behavior
The file AND directory should be removed from sites/default/files/resources/
after import completes.
Update: the directory IS removed, however, it is immediately recreated.
Heh. @janette is this still the case?