- last update
10 months ago Composer require-dev failure - πΊπΈUnited States DamienMcKenna NH, USA
Improved log message if the file wasn't found.
Running a migration on a site it fails to convert a large proportion of images from a D7 site that were embedded in the body like this:
<p><a href="https://example.com" target="_blank"><img alt="" src="/files/users/7438/2014-4/file_name.jpg" /></a></p>
or
<code><p><img alt="" src="/files/users/60/2014-2/filename.jpg" /></p>
The files exist on the source hostname, there are {files} and {file_managed} records for them on the D7 site, and the file records exist on the D9 site.
The migration throws tons of errors like this:
[warning] No file found for the relative image URL in tag '<img alt src="/files/users/60/2014-2/filename.jpg">' used in the 'upgrade_d7_node_complete_blog' migration's source row with source ID array() while processing the destination property 'value'.
Work out the cause of the problem.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Improved log message if the file wasn't found.