Images missed by WYSIWYG filter

Created on 22 October 2022, about 2 years ago
Updated 5 March 2024, 10 months ago

Problem/Motivation

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'.

Steps to reproduce

Proposed resolution

Remaining tasks

Work out the cause of the problem.

API changes

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024