Conflict with content_lock

Created on 8 September 2017, over 7 years ago
Updated 16 December 2024, 2 days ago

When using token_custom, there is an error related to content_lock, making it impossible to edit custom tokens when content_lock is installed.

Uncaught PHP Exception Drupal\Core\Database\DatabaseExceptionWrapper: "SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'token_name' for column 'entity_id' at row 1: INSERT INTO {content_lock} (entity_id, entity_type, uid, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array
(
    [:db_insert_placeholder_0] => token_name
    [:db_insert_placeholder_1] => token_custom
    [:db_insert_placeholder_2] => 1
    [:db_insert_placeholder_3] => 1504878127
)
" at ./docroot/core/lib/Drupal/Core/Database/Connection.php line 685
πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bdanin

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

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