Enable translation checkbox gets unchecked

Created on 14 November 2024, 5 months ago

Problem/Motivation

Site is hosted on Pantheon, and itโ€™s a multilingual site using Cloudflare. We need the translation option to translate content for the content type. In version 10.3.6, the 'Enable translation' checkbox gets unchecked after some time, but when we flush all caches, it starts working again

Steps to reproduce

Link: /en/admin/structure/types/manage/conference and click on the language settings

๐Ÿ› Bug report
Status

Active

Version

10.3 โœจ

Component

cache system

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia vikas500 Pune

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

Comments & Activities

  • Issue created by @vikas500
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vikas500 Pune
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vikas500 Pune
  • There isn't much to go on with this reported critical bug, so we'll have to investigate based on more information from you.

    • Was there a version of Drupal where this did not occur? That is, did a specific upgrade cause the change?
    • Are there any errors logged by Drupal?
    • You marked this issue as a bug in the "cache system" core component. Is the site using the default database cache backend or another?
    • Are any patches applied to the site?
    • Which modules are installed and what are their versions?
    • Is the bug platform-specific? That is, have you been able to reproduce it on Drupal sites that are not hosted the same way?
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vikas500 Pune

    Thanks, Cilefen, for the reply. Please find my answers below

    1. Was there a version of Drupal where this did not occur?
    We are currently using version 10.3.6 for a multilingual site with domain access, involving multiple domains. However, we are experiencing cache crashes with this setup.

    Interestingly, we have a similar configuration running on version 10.1.6 for another site, and there are no such issues there. From my research, even downgrading the problematic system to a previous version does not resolve the error.

    It seems the issue is tied to the complexity of the system. The site with no cache issues is less complex, while the site experiencing the error is significantly more complex, which the cache mechanism appears unable to handle.

    2. Are there any errors logged by Drupal?

    At the moment, there are no specific error messages related to this issue in the Drupal logs. However, I have checked the recent log entries, and there are no entries specifically related to cache clearing or the "Enable translation" checkbox.

    3. You marked this issue as a bug in the "cache system" core component. Is the site using the default database cache backend or another?

    The site is using the default database cache backend along with Cloudflare for caching.

    4. Are any patches applied to the site?
    Yes, patches have been applied to the site. All updates and patches have been applied via Composer.

    5. Which modules are installed and what are their versions?

    The following core modules are installed on Drupal 10.3.6 for Multilanguage and translation
    Content Translation (content_translation module)
    Configuration Translation (configuration_translation module)
    Locale (locale module)
    Language (language module)

    6. Is the bug platform-specific? Have you been able to reproduce it on Drupal sites that are not hosted the same way?

    The issue seems to be platform-specific, as I have been unable to reproduce it on a local environment without Cloudflare or Pantheonโ€™s caching

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vikas500 Pune
  • Ok, let us know what you find in your investigation as to the cause.

  • ๐Ÿ‡ญ๐Ÿ‡บHungary aron novak Hungary, Budapest

    For the record, this happens on the same site: https://www.drupal.org/project/drupal/issues/3116503#comment-15853664 ๐Ÿ› Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "menu" entity type did not specify a storage handler. in Drupal\Core\Entity\EntityTypeManager->getHandler() (line 27 Active
    The entity definition for "menu" is impartial after cache clears sometimes.

Production build 0.71.5 2024