Enforce Token usage not saving

Created on 15 July 2024, 5 months ago

Problem/Motivation

Checking "enforce token usage" and saving it doesn't do anything. This goes for any content type I have tried.

Steps to reproduce

Drupal 10.2.4

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

User interface

Created by

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

Comments & Activities

  • Issue created by @london6339
  • πŸ‡ΊπŸ‡ΈUnited States drupgirl
  • Even when I import config that adds forced: true or forced: 1 to the TCA content type yml, the yml reverts back to the previous one.

  • πŸ‡ΊπŸ‡ΈUnited States wgoley06

    Hi, unless I've overlooked another patch, I still seem to be running into this issue with the enforce token to save on specific nodes. I've tried to export configurations, update the config file, and reimport but its not saving still. I see in the DB that the

    SELECT name, data FROM config WHERE name = 'tca.settings';
    +--------------+----------------------------------------------+
    | name | data |
    +--------------+----------------------------------------------+
    | tca.settings | a:1:{s:19:"enforce_token_usage";s:4:"true";} |
    +--------------+----------------------------------------------+

    enforce_token_usage: true
    uuid: faf053eb-da89-4669-a1db-c7b864b9e690
    langcode: en
    status: true
    dependencies:
    config:
    - node.type.estimate
    id: node_type_estimate
    active: 1
    token: required
    public: false

    I tried changing themes and uninstalled additional modules that might conflict but having no luck.

    Anyone else figure out the issue on this one?

Production build 0.71.5 2024