I'm trying to figure out what should happen when running a D6 Upload migration. I'm getting errors and results that are different than I expect, but I'm not totally clear what the expected behavior is.
On my D6 site:
- Upload module is enabled
- There's a content type, Spotlight
- One Spotlight node has a file attached using Upload
- One basic page node also has a file attached using Upload
When I run the migration manifest in #2223993: Manual Testing: D6 Upload, I get the following outcome:
$ sudo drush migrate-manifest mysql://imp:sourcepass@localhost/source D6Manifest-Upload.yml
filesize(): stat failed for public://theend.png File.php:205 [warning]
filesize(): stat failed for public://screencap.png [warning]
File.php:205
The specified file sites/default/files/theend.png could not be copied because no file by[error]
that name exists. Please check that you supplied the correct filename.
The specified file sites/default/files/Error | Drupal.org D7 2013-07-03 15-19-42.png [error]
could not be copied because no file by that name exists. Please check that you supplied
the correct filename.Additionally:
- The Page content type now has a file field
- The Page file field is disabled in Manage display, even though Upload is configured to display files by default
- There is no file value for the Basic page node (probably because of the errors above)
- The spotlight content type does not have a file field.
Comments
Comment #1
eliza411 commentedComment #2
eliza411 commentedComment #3
eliza411 commentedWith the revised manifest on the parent issue:
I get:
Comment #4
ultimikeComment #5
benjy commentedI think this will be fixed by: #2244555: Use copy() directly instead of file_unmanaged_copy()