Hello,

Problem/Motivation

I've 2 extra fields in user account (surname, lastname) but no data get with the token [user:field_surname] or [user:field_lastname].

But if I use [user:mail] or [user:role] then all is good ! And with another website, all is good with the 2 extra fields !! :/

I've checked the database and only the column realname of the table realname is void ...

 uid | realname |  created
-----+----------+------------
   1 |          | 1639146462
 174 |          | 1639146478
 129 |          | 1639146479
  45 |          | 1639146479
 133 |          | 1639146479
 130 |          | 1639146479

Steps to reproduce

I don't know ....

Proposed resolution

Do you have any idea ?
Could you tell me which file, in source code, I need to check to understand what receive token module, plz ?

Remaining tasks

User interface changes

API changes

Data model changes

Versions

drupal core: 9.2.10
token : 1.10
realname : 2.0.0-beta1

Thanks,

Comments

guygenestoux created an issue. See original summary.

guygenestoux’s picture

Hi,

I found the issue. I activated the token display and set all fields to hidden.

You can close this issue.

andregp’s picture

Status: Active » Closed (works as designed)