Unable to explore tokens

Created on 4 September 2018, over 6 years ago
Updated 23 July 2024, 4 months ago

On my Drupal 8 site, I can not seem to explore the chips.

The following error is displayed in the console :

AjaxError: Une erreur HTTP AJAX s'est produite. Code de statut HTTP : 500 Informations de débogage ci-dessous. Chemin : /token/tree?options=%7B%22token_types%22%3A%22all%22%2C%22show_restricted%22%3Atrue%7D&token=b_pzWPagx1MQfIvCQg7Xq2IhTJhjmhTvCmTnIGaWbbo StatusText: Internal Server Error ResponseText :

How can I fix this ?

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇫🇷France zenimagine

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.

  • 🇬🇷Greece vensires

    I set this as "Needs work" because the patch works but... maybe it works too good. I think I have seen the same behavior in other modules too but at least let's make sure this is intentional! If it is, we can set it as RTBC!

    In my scenario, I have a comment field "field_ref_comment" on the message template which targets a specific comment. Using this patch I have the option to reach the node entity targeted by the comment ([message:field_ref_comment:entity:entity]) but I can't explore further the node's tokens since the node tokens are not included anymore. I will have to use a node reference field or use patch from Allow additional token data to be added to message Needs review .

Production build 0.71.5 2024