[node:nid] not added in label in a certain combination of settings

Created on 26 March 2021, almost 4 years ago
Updated 6 September 2024, 5 months ago

Problem/Motivation

When I select "Automatically generate the label and hide the label field"
and configure token : 'R-[node:nid]_[current-date:html_year' it works fine,

however when I select

"Automatically generate the label if the label field is left empty" with the same token R-[node:nid]_[current-date:html_year'
node:nid won't work and create R-_2021 instead

Is it possible to fix it? I need to migrate nids from the old site and cannot be changed, hence title will stay :R-[old_nid] which is fine, but when I create new content type it won't use node:nid. just already mentioned R-_2021

Steps to reproduce

-already mentioned

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇸🇰Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024