Regression in "Individual display name format" And "Sort Name format" token
Overview
{(contact.nick_name)}
The above is the token I usually use to display "Individual display name format" And "Sort Name format".
It has worked till CiviCRM 5.65 which was my last version.
Since the upgrade to the latest version of CiviCRM this token does not work anymore and prints exactly "{(contact.nick_name)}".
I have also tried like this { (}{contact.nick_name}{)}
Although the first bracket on the left renders fine, the last one at the end doesn't render.
Reproduction steps
- Click on Administer -> Customised data and Screen -> Display Preferences.
- Entered {contact.first_name}{ }{contact.last_name}{ (}{contact.nick_name}{)} in Individual display name format or Sort Name format and clicked Save.
- Go to Contact summary screen of a contact who has a nick name. Edit and save.
Current behaviour
Display or Sort name shows as Tapash Datta (Tapu
Expected behaviour
Expecting to have the end bracket after the nick name like Tapash Datta (Tapu)
Environment information
- Browser: Safari 17.4
- CiviCRM: 5.72.1
- PHP: _8.2
- CMS: Drupal 7.100/WordPress 6.4
- Database: MariaDB 10.4
- Web Server: Nginx 1.16