Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Message text in admin/content/message is empty if the text contains html.
Patch forthcoming which should more clearly highlight the issue.
Comments
Comment #2
sylus CreditAttribution: sylus commentedComment #3
macganibo CreditAttribution: macganibo commentedI have the same issue when creating messages, the ui renders an empty row. Also, when fetching the message entity programmatically
$message->getText();
does not map tokens properly.Comment #4
macganibo CreditAttribution: macganibo commentedAdded a patch for #3
Comment #5
macganibo CreditAttribution: macganibo commentedComment #6
DamienMcKennaThat's great, thanks for working through it!
Please try to remember to set the issue status to "Needs review" when you upload a patch, that will trigger the testbot to test the file and indicates to others that there's something to review.
Comment #7
jhedstromThe approaches in #2 and #5 are quite different. Not sure what the token changes are in #5, but we definitely need to pass the message entity in.
Comment #8
malte.koelle CreditAttribution: malte.koelle at Unic commentedPatch #2 works fine for me. I created a test to cover the specific scenario.
Comment #10
jhedstromThanks for the test @malte.koelle!