Any export returns a malformed image URL. The node imports but the image does not and the rest of the import aborts.

This is what I get:
'node_export_file_url' => 'http://stage.knowledgeavatars.com/public%3A//neurons51.jpg',

It should be:
'node_export_file_url' => 'http://stage.knowledgeavatars.com/sites/default/files/IMG_2224.JPG',

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

selvakumar’s picture

Try to use image_create_url instead of url in node_export.module file: Line 1052

// Remote export mode
elseif ($export_mode == 'remote') {
$export_data = file_create_url($file->uri, array('absolute' => TRUE));
}

fabianderijk’s picture

Status: Active » Needs review
FileSize
578 bytes

I've tested this, and it worked for me. I've added a patch for this as well to make it easier for the maintainers.

I would also not mind to be maintainer on this module to see if/what we can do to make it even better.

danielb’s picture

Status: Needs review » Closed (duplicate)