The field link_override has already been deleted and it is in the process of being purged when uninstalling module

Created on 6 February 2025, about 2 months ago

When trying to remove the module (in trying to figure out another issue where the translation is not used), there is a PHP error and in the logs there is:
Drupal\Core\Entity\EntityStorageException: The field link_override has already been deleted and it is in the process of being purged. in Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema->onFieldStorageDefinitionDelete() (line 762 of /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php).

While I had translated one menu entry with the field provided by this module, I did also try to delete that translation. So it seems its just try to uninstall the module.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden VAnnergard

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

Comments & Activities

  • Issue created by @VAnnergard
  • πŸ‡ΈπŸ‡ͺSweden VAnnergard

    Looks like the update hook did not trigger when I installed the module.
    Hmm hard to know if that is related to the module or something else.

    If you are looking into this for some other reason, do make sure that the install has run you want to check that the
    menu_link_content_data tables in the database have the fields: link_override__uri, link_override__title and link_override__options

  • πŸ‡ΈπŸ‡ͺSweden VAnnergard

    Aha there was a previous ticket.

Production build 0.71.5 2024