- Issue created by @gocaps
When I have 2 different images in a body field, I end up with two identical images after the node is created or updated on a client site.
This occurs when I upload images in CKEditor 5, and the image gets uploaded to the public files directory. On the client site, the path of the first image appears to get overwritten with the path to the second image, resulting in two identical images.
It is just the image src that is being overwritten. The data-entity-uuid and alt text remain correct.
Example markup on Entity Server site:
<p>
<img src="/sites/default/files/inline-images/first-image.jpg" data-entity-uuid="f9442c18-9aca-4ec8-85fe-4c22446ab6a2" data-entity-type="file" alt="First Image">
</p>
<p>
<img src="/sites/default/files/inline-images/second-image.jpg" data-entity-uuid="f9661d18-9xda-4cc8-91fe-4c66546ab6a2" data-entity-type="file" alt="Second Image">
</p>
Resulting markup after pull on Entity Client site:
<p>
<img src="/sites/default/files/inline-images/second-image.jpg" data-entity-uuid="f9442c18-9aca-4ec8-85fe-4c22446ab6a2" data-entity-type="file" alt="First Image">
</p>
<p>
<img src="/sites/default/files/inline-images/second-image.jpg" data-entity-uuid="f9661d18-9xda-4cc8-91fe-4c66546ab6a2" data-entity-type="file" alt="Second Image">
</p>
Drupal version 10.1.2 (upgraded from D9)
Entity Share 8.x-3.0
PHP 8.1.21
Active
3.0
Entity Share Client