Closed (fixed)
Project:
Node export
Version:
7.x-3.x-dev
Component:
Node export
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2012 at 12:58 UTC
Updated:
4 Mar 2016 at 01:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
milesw commentedSmall change to retain the exported file field values.
Comment #2
milesw commentedWithout the accidental newline addition.
Comment #3
brettbirschbach commentedThanks for your patch miles! Just applied it on my project so that imported image fields preserve title/alt
Comment #4
cosmicdreams commentedI have found that this patch does keep the values, but the values are not saved.
The specific problem I'm trying to solve is to keep the image titles or captions that I am importing.
Comment #5
cosmicdreams commentedThe change also needs to be in _node_export_file_field_import_file(&$file), which overrites the incoming file data if the file already exists.
Comment #6
cosmicdreams commentedI ultimately had to do this in node_export.module: _node_export_file_field_import_file(&$file)
Comment #8
danielb commented