Token access on the Token Content Access settings tab does not Save

Created on 20 May 2023, over 1 year ago
Updated 13 August 2024, 4 months ago

On a d10 site I followed the readme config instruction with both versions, 3 & 3dev.

## CONFIGURATION

  1. Navigate to Administration > Extend and enable the module.
  2. Navigate to Administration > Structure > Content types. Configure per
     Content Type (e.g.: /admin/structure/types/manage/article), editing
     token access on the Token Content Access settings tab. Save.

Clicking Save, the the message reports that the content type was saved, however the setting is not saved and no settings tab appears on the nodes.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇺🇸United States drupgirl

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

Comments & Activities

  • Issue created by @drupgirl
  • 🇮🇳India yash_khandelwal Mumbai

    Looked on this case and found module is working as expected. Token setting appears on the node. Make sure "Token Content Access nodes" module should be enable. PFA screenshot for your reference.

  • Status changed to Closed: works as designed over 1 year ago
  • Status changed to RTBC over 1 year ago
  • 🇺🇸United States drupgirl

    Hmmmm, it's still not saving for me at the content type level. What admin theme are you using there? Are you testing on a D10 site? Thanks!

  • 🇮🇳India yash_khandelwal Mumbai

    I am using Olivero 10.0.9 theme and also checked the case with Claro 10.0.9 theme. Module is working fine. Please check the error logs so we can debug more on this or if not than it looks not an issue with this module.

  • The same situation when saving product entity. For some reason it is not saving.

  • And token is not visible when "Enable Token Content access protection" enabled

  • Status changed to Active 4 months ago
  • This issue still exists, see https://www.drupal.org/project/tca/issues/3461624 🐛 Enforce Token usage not saving Active

  • 🇺🇸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