Closed (fixed)
Project:
VBO export
Version:
4.2.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2018 at 23:32 UTC
Updated:
23 Oct 2025 at 11:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kalpaitch commentedComment #3
kalpaitch commentedComment #4
graber commentedHi @kalpaitch, thanks for your work, it'll be good to have an option to select the file scheme.
Review: you don't need to create a dedicated route and form, it'll be much better to use VBO API for preliminary configuration: see https://www.drupal.org/docs/8/modules/views-bulk-operations-vbo/configur...
Comment #5
kalpaitch commentedAce, yes that sounds like a much better idea.
Comment #6
kalpaitch commentedComment #7
graber commentedI improved a few bits and implemented short array syntax, but it's still not perfect, setting the file scheme different than public results in unexpected behaviour (temporary - filename is always temporary.csv, private - WSOD, maybe with this module https://www.drupal.org/project/private_files_download_permission it'd work, no time to find out though).
Comment #8
graber commentedComment #9
jacobbell84 commentedRerolling for 3.1
Comment #10
graber commentedThanks @jacobbell84, does this work for you? I got an error when testing last time on local but maybe it was a problem with my private file system..
Comment #11
jacobbell84 commentedHi @graber, it does though I'm using the temporary folder and not the private system.
Comment #12
jacobbell84 commentedComment #13
kalpaitch commentedRelated to https://www.drupal.org/project/views_data_export/issues/3200974
Comment #14
kalpaitch commentedI've re-rolled this patch for 8.x-3.x.
I think it's important to use the same default file scheme selection mechanism as core... but not the default_scheme selection itself (as selected in the system.file config). My reasoning is that for backwards compatibility this module currently defaults to the private scheme if available or else the public scheme. Changing the default to whatever is selected in system.file config seems like a jump to far for a minor update, and also not directly necessary for the purposes of this issue, all that is needed is for the user to be able to change the vbo_export scheme, not to change the default value.
Comment #15
kalpaitch commentedComment #17
kalpaitch commentedRe-rolling.
Comment #18
kalpaitch commentedRe-rolling patch, correction.
Comment #19
borisson_We've been using this patch for a while. I think it looks good to go, but not sure about tests? I'm going to rtbc this - but I'm not sure about the test-expectations for this.
Comment #20
graber commented@borisson_, don't we need config schema for this new setting?
Comment #21
borisson_Good question, I think we do.
Comment #22
graber commentedYes, quite easy: https://git.drupalcode.org/project/vbo_export/-/blob/4.x/config/schema/v...
Comment #23
astonvictor commentedComment #27
astonvictor commentedHi there,
I updated the schema configs and prepared another MR for 4.x branch.
thanks
Comment #29
astonvictor commentedfixed in a new 4.2.x branch
thanks
Comment #32
thulenb commentedI get an error when updaten to 4.2.x
In my Drupal file schema setting I have no path set for the private file system. Am I now required to use it?
In the VBO export field setting it's doesn't make a difference what file schema I select, I always get the above error when trying to save.