RTE parsing doesn't appear to be working

Created on 23 April 2024, 12 months ago
Updated 18 July 2024, 9 months ago

Problem/Motivation

I am experiencing this issue with media (images) embedded in an event content type RTE body in CkEditor 5. We are in Drupal 10.2.4 w/ PHP 8.2 and using the 8.x-3.0 branch of the Entity Share suite of modules. I also have the "Embedded entity' configuration option turned on in my import entity config settings.

On the client side we end up with - The referenced media source is missing and needs to be re-embedded.

I have json api extras turned on to disable some items. As a test, I re-enabled all of the items I disabled and attempted the sync of the content type and the issue remains the same.

There are no errors in the log that appear.

I added xdebug breaks on the functions doTransform() and doUndoTransform() in the EntityShareEmbeddedEntitiesEnhancer.php; however, when I run the pull on the client these function are not triggered. This is the only place I saw .*data-entity-type="(.*)... being used as referenced in this ticket.

Is there anything that I might be overlooking what would cause the entity within the RTE instance not to be brought over correctly?

I posted in https://www.drupal.org/project/entity_share/issues/3056911 ✨ Parse RTE to get referenced entities Fixed as it seems this is the closest to my issue. I'm figuring I am missing something and can greatly use a hint or two. Thank you in advance.

πŸ’¬ Support request
Status

Closed: works as designed

Version

3.0

Component

Entity Share Server

Created by

πŸ‡ΊπŸ‡ΈUnited States pbabin

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

Comments & Activities

  • Issue created by @pbabin
  • πŸ‡ΊπŸ‡ΈUnited States pbabin

    Issue ended up resolving itself. I wasn't able to track down the exact root cause and what resulted in the fix; however, after an update to Drupal core this functionality started working for us again. We're currently in Drupal 10.3.1 with no issues.

  • Status changed to Closed: works as designed 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States pbabin
Production build 0.71.5 2024