#54442Migrate RTE magic images fails on duplicates
Description
If a file is referenced multiple times in tt_content.UID.bodytext it is moved with the first migration and all other migrations fails because the original file is missing.
File 'uploads/RTEmagicC_a6fd7f3746.gif.gif' does not exist. Referencing field: tt_content.660.bodytext. The reference was not migrated. File 'uploads/RTEmagicC_a6fd7f3746.gif.gif' does not exist. Referencing field: tt_content.661.bodytext. The reference was not migrated. File 'uploads/RTEmagicC_a6fd7f3746.gif.gif' does not exist. Referencing field: tt_content.703.bodytext. The reference was not migrated. File 'uploads/RTEmagicC_a6fd7f3746.gif.gif' does not exist. Referencing field: tt_content.724.bodytext. The reference was not migrated. File 'uploads/RTEmagicC_a6fd7f3746.gif.gif' does not exist. Referencing field: tt_content.724.bodytext. The reference was not migrated. File 'uploads/RTEmagicC_a6fd7f3746.gif.gif' does not exist. Referencing field: tt_content.724.bodytext. The reference was not migrated. File 'uploads/RTEmagicC_a6fd7f3746.gif.gif' does not exist. Referencing field: tt_content.732.bodytext. The reference was not migrated.
The migration should check if the file is already migrated if the original not exists and just update the database.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.