Closed (fixed)
Project:
Views data export
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2025 at 12:35 UTC
Updated:
31 Oct 2025 at 10:49 UTC
Jump to comment: Most recent
Comments
Comment #3
steven jones commentedOh, super interesting! Because I tested this, and it totally worked fine and the account was switched correctly when doing a batched export.
I was surprised by this tbh, and didn't think too much about it, though I can imagine that yeah, it doesn't work in all cases!
What version of Drush are you using? Maybe that's important somehow?
Comment #4
eelkeblokComment #5
eelkeblokThe project is on Drush 13. I did find mention of a global -u option to set the user ID and the batch processing in Drush is actually trying to set it somewhere, but apparently this was removed in Drush 9, so that can hardly be a factor. Something is still off, though, since tests are failing.
Comment #6
eelkeblokComment #7
eelkeblokComment #8
eelkeblokComment #9
steven jones commentedI think I've sorted it by trial and error.
Comment #10
steven jones commentedComment #11
saahbaa commentedI also have this issue but the commit 5ac7c72c7f77bf4465d28b65c26a4723f9f43f8f not working. can you please let me know how can I make it work?
Comment #12
saahbaa commentedI just learned that we can set the user 1 (admin) by "--uid 1"
Comment #13
steven jones commentedComment #15
steven jones commented@eelkeblok thanks for spotting the issue and the code to fix it.