Closed (fixed)
Project:
Alternative Stream Wrappers
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2014 at 08:09 UTC
Updated:
19 Sep 2014 at 14:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
magtak commentedThis sub-module (naming might be bad) should fix the issue. Good idea might be to actually create a small UI to turn it on/off on demand if enabling/disabling the module does not prove to be convenient.
Comment #2
magtak commentedwrong function name :/
Comment #3
magtak commentedand typo on the correction.
Comment #4
mcdruid commentedComment #5
mcdruid commentedThanks magtak, this is looking good.
Couple of suggestions:
description = Makes large files created via views_data_export batches temporary so cron can eventually remove them.How about something like:
description = Ensures views_data_export temporary files are really temporary; see https://www.drupal.org/node/2198399Also, how about an install hook to (carefully) mark any existing VDE managed files as temporary?
Personally I wouldn't bother with a UI as this sub-module only does one thing; I think enabling/disabling the module itself should be sufficient.
Comment #6
magtak commentedI'll work on the hook_install. Feel free to modify the description/title and even the name of the module should something more appropriate/shorter/catchy spring to mind.
Comment #8
mcdruid commentedInitial sub-module committed, but marking issue as Needs work as the install hook is pending.
Thanks magtak!
Comment #9
mcdruid commentedNot that the original VDE issue that we were working around has been fixed: #2198399: temporary files are created as FILE_STATUS_PERMANENT
So...
Comment #11
mcdruid commentedRemoved the workaround sub-module as the bug's been fixed upstream; closing issue.
An update hook in VDE itself might still be a good idea to mark existing files as temporary.