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.
Problem/Motivation
Temporary files are now handled by the EntityFile destination but this errors out when both the source and the destination are the exact same path which is possible when sites use the operating system /tmp path.
Proposed resolution
Handle this situation in the destination.
Remaining tasks
Write patch, update tests.
User interface changes
n/a
API changes
n/a
Comment | File | Size | Author |
---|---|---|---|
#1 | 2405337-1-FAIL.patch | 710 bytes | benjy |
#1 | 2405337-1.patch | 1.61 KB | benjy |
Comments
Comment #1
benjy CreditAttribution: benjy commentedPatch and tests attached. The EntityFile destination still has another issue with handling temporary files when the path is not absolute, will create a separate issue for that.
Comment #3
benjy CreditAttribution: benjy commentedComment #4
ultimikePatch and test make perfect sense.
-mike
Comment #5
alexpottMigrate is not subject to the beta evaluation. Committed 3f1c3c0 and pushed to 8.0.x. Thanks!
Comment #7
mikeryanThis change introduced #2414365: File migration fails when the files are at a remote URI.