Since the last upgrade of drupal core to version 11.4.1, the automatic node label using token (with option : Automatically generate the label and hide the label field) takes value like this on node creation : %AutoEntityLabel: 2bd44b2f-2d96-497b-9691-c54824be99c7%.

If I modify the node by just save it, the label of node takes the good name based on token.

Thanks for your help.
Regards

Comments

dcoppel created an issue.

ttnt’s picture

I am seeing the same - do you happen to also redirect, perchance using ECA, upon node save?

ttnt’s picture

It seems that tweaking some tokens solved some instances of the token being scrambled, but not all. Drilling down seemed to do something, i.e: use [node:field_product:value] instead of [node:field_product], the later used to be fine though.

I also lost a front-end on my dev site upon saving from a page which redirected on form submission - changing the setting over at admin/structure/types/manage/content-type/auto-label from Create label after first save to Create label before first save solved that issue.

I'm looking forward to hear if this helps for you.

dcoppel’s picture

Hi,
Thanks for your reply !
I was in trouble with 3 differents types of node.
Your first solution by replacing [node:field_product:value] instead of [node:field_product] resolved this issue on 2 of them but not the third one because the token field was type of list item. So id was displayed instead of text...
For this issue on last type of node was solved with the second solution : changing the setting over at admin/structure/types/manage/content-type/auto-label from Create label after first save to Create label before first save.

So you found all the solutions ! Thanks a lot for your help !
Regards