Closed (fixed)
Project:
Node export
Version:
7.x-3.0
Component:
Node export
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2013 at 10:29 UTC
Updated:
3 Mar 2016 at 22:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
markosef commentedThis is export data excerpt
and file_default_scheme() function also gives public:/ if checked in node_export.module around
I checked this at two locations one is the drupal ugprade from 6 to 7, other is a multisite setting, both drupal sites work fine but are a bit complex.
Anyway. What I did is a hack to fix this as I counldn't locate where does problem come from. I rewrote how file path is constructed with one line and it works now.
So maybe this could help someone. Also suggestion to module maintainter to add a "default" variable for path when exporting, this could solve possible cases like this if someone else has the same problem. But then again maybe it is a bug for everyone :-)
Comment #2
im0000 commentedThanks, it works for me, and I found a better way
Comment #3
markosef commentedIt is better when using multisite. :)
Comment #4
Jaggi commentedI preferred to do it this way as its much cleaner and does the same job:
Also this is a bug as the url will always have public:// stream and the url method doesn't handle this type of url.
Comment #5
m4olivei#4 worked for me, and IMO is the most correct way to do it. I'm attaching a patch against 7.x-3.0.
For those using the Drush command to export their nodes as I am, I also found that you need to use the
--uricommand line param to have the correct URL generated for the remote file export method, eg:Comment #6
m4oliveiComment #7
Maxime Gilbert commentedThis works like a charm: must be released.
Comment #8
marko b commentedThis seem to work, even on multisite, good job.
Comment #9
JMC commentedPatch #5 worked for me, thanks.
Comment #10
camp5456 commented#5 worked for me. Thanks!
Comment #12
danielb commented