I was trying to use the token [node:nid] in the title so that the title look like "Content Submission: 1". To do that, I use the following for the pattern:

Content Submission: [node:nid]

But when a new node is created, the title just display "Content Submission: #". It shows correctly only if I then edit the node and save it. I would really appreicaite it if someone could tell me how to fix this.

Thanks!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Nikdilis’s picture

Priority: Normal » Critical

I can confirm the same problem.
After using the format "example [node:field_fid]", whereas node:field_fid is a serial field (automatically increasing), the title is saved as "example [node:field_fid]".
Only after editing and saving the node again, the title shows as "example 3".
As this prevents the module from working as intended, I set the priority level to "critical".

Dimas_’s picture

I've the 6.x-1.2 version (tried with 6.x-1.x-dev too) and the same happens! If I put "[field_profile_address-raw]" as a pattern it have no effect when the node (profile) is created. I've to save it again to get title updated.

Renee S’s picture

Issue summary: View changes

Confirmed.

yuraosn’s picture

Confirmed

bkhandruk’s picture

Here's patch to fix this problem.

anmolgoyal74’s picture

Assigned: Unassigned » anmolgoyal74
Status: Needs review » Reviewed & tested by the community

The patch works as designed.

anmolgoyal74’s picture

Assigned: anmolgoyal74 » Unassigned

gaurav.kapoor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.