Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
When I use this module, it does not export any yml files.
Steps:
1. Installed 'Views Migration' module Version: 7.x-2.0-alpha6
2. Went to /admin/config/view-migration/settings
3. Entered path in the input box 'Enter views export path here'
4. Press 'Save Configuration'
Result:
It only gives message 'The configuration options have been saved'. But does not save any yml file to given location.
I have followed same instructions/steps that are mentioned on module page.
Is there I am missing something?
Thanks!
Comments
Comment #2
Lavnish CreditAttribution: Lavnish commentedHi Shailesh,
Apologies for late reply, Busy in other heavy stuff.
I am working on it, will update the minor code changes and soon will release the new version. After that please check. Thanks for reporting the issue.
Thanks!
Comment #3
jayvolk CreditAttribution: jayvolk as a volunteer commentedIt didn't work for me either.. what I had to do (on Ubuntu) is use a path like this: \var\www\{your directory}\sites\default\files\viewsexport ... notice the path separator is backward from normal. Also the path needs to be world writable.... have not tried to import the yml files yet tho'..... we will see about that.
Comment #4
tky CreditAttribution: tky commentedI have the same issue here, exactly like jayvolk's.
Comment #5
Jumoke CreditAttribution: Jumoke commentedAnyone has any luck with this?
Comment #6
Tsegaye CreditAttribution: Tsegaye as a volunteer commentedTemporary fix. I uncommented the part in view_migration.admin.inc to accept a default file path, views_exports in files/.
I have also added the default attribute to the form in the function views_migration_admin_settings in the view_migration.module page:
Now, in your files folder, you will get the yaml files in /views_exports
Comment #7
SBDC CreditAttribution: SBDC commentedTried #6 and whilst the "views_export" folder was created in my files folder, no yaml files ever appeared though.
Has anyone got this working?
Comment #8
bisonbleu CreditAttribution: bisonbleu commentedI just tried this with and without the fix in #6 and it doesn't work.
Setting priority to Major because the module is broken and and does not work as advertised.
p.s. There a re lots of errors in the dblog such as
Comment #9
elimw CreditAttribution: elimw commentedI managed to get this module working without having to do #6. I created a directory in sites/default/files and set that as my export path.
I couldn't find it in any of the documentation but basically, the destination has to exist prior to export (e.g. /var/www/my_site/sites/default/files/views_export)
Comment #10
serverjohn CreditAttribution: serverjohn commentedTo go expand on elimw's comment (#9)...
views_exports
folder in your site's files foldersites/default/files/views_exports
Comment #11
joshuasosa CreditAttribution: joshuasosa commentedSteps in #10 worked for me, thanks!
Comment #12
ianchan CreditAttribution: ianchan commented#10 also worked for me.