Can not uninstall

Created on 26 February 2023, over 1 year ago

Problem/Motivation

Have removed all fields depending on this module from content types and user accounts but get this message in Uninstall UI:

"The following reason prevents Field Token Value from being uninstalled:
Fields pending deletion"
When doing composer remove drupal/field_token_value
I get the following respond and the site is turning into "Internal server error":

[flextidc@epsilon minveckopeng.nu]$ composer remove drupal/field_token_value
./composer.json has been updated
Running composer update drupal/field_token_value
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 0 updates, 1 removal
- Removing drupal/field_token_value (3.0.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 0 updates, 1 removal
- Removing drupal/field_token_value (3.0.1)
Deleting web/modules/contrib/field_token_value - deleted
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
62 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
- Copy [web-root]/.htaccess from assets/scaffold/files/htaccess
- Copy [web-root]/robots.txt from assets/scaffold/files/robots.txt
- Copy [web-root]/web.config from assets/scaffold/files/web.config
- Copy [web-root]/sites/example.settings.local.php from assets/scaffold/files/example.settings.local.php
[flextidc@epsilon minveckopeng.nu]$

πŸ’¬ Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden chrotto

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

Comments & Activities

  • Issue created by @chrotto
  • πŸ‡³πŸ‡ΏNew Zealand haydent

    Hi chrotto

    Try and run cron a few times to ensure fields are actually purged following deletion. This is managed by core and not this module.

  • πŸ‡ΈπŸ‡ͺSweden chrotto

    Thank you for a quick respond.
    That helped and the module is now uninstalled without errors.
    /Christer

  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡³πŸ‡ΏNew Zealand haydent

    Thanks chrotto, will close this off. This is Drupal core functionality and there is currently an issue looking into this.

Production build 0.69.0 2024