Reinstall blocked - uninstall doesn't do clean up locked reinstall

Created on 5 August 2024, 4 months ago
Updated 28 August 2024, 3 months ago

Problem/Motivation

Uninstalling the module does not accomplish clean up of user custom fields nor access data.
The fields are locked preventing administrators form manually deleting the fields from the user entity.
Attempts to reinstall the module are blocked as the fields already exist.

Steps to reproduce

Uninstall module
Attempt to reinstall, blocked.

Proposed resolution

Add uninstall hooks to delete the fields from the user entity and token records for all users.

This blocks the ability for me to use the module or conduct R&D.
Unless I have a database backup prior to first install.
Which is impractical for any "live" actively in use drupal instance.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States emptyvoid

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

Comments & Activities

Production build 0.71.5 2024