Pre-Populated Fields are reverting to default for admin

Created on 9 April 2024, 2 months ago
Updated 10 April 2024, 2 months ago

Problem/Motivation

I have one content type that I am trying to get people to clone. It uses a token from their profile to create a URL. If they clone the node, then it uses their information and appears to be correct. But if I clone the node, then it puts MY information even though it was already set in the original node.

Steps to reproduce

Create node of type "Show".

In this node type there is a LINK field with a Prepopulate value of http://externalsite.com/[current-user:field_show_user]. Also on update is unchecked. Set default value is unchecked.

Drupal properly creates the node and uses http://externalsite.com/showusername as the URL.

Then when I go to clone it, it overwrites it with the prepopulate data again instead of using what is saved, so it becomes http://externalsite.com/adminusername

EDIT:

EDIT2: My mistake. My Second non-admin account had no information in the field used for pre-populated data. Once I put some data, it started overwriting the field again.

πŸ› Bug report
Status

Active

Version

1.18

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States Taps7734

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

Comments & Activities

Production build 0.69.0 2024