How does one safely remove this module?

Created on 8 March 2024, over 1 year ago

I have some config that gets deleted when I remove this module, I need the config and don't want to have to recreate it from scratch.

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States travisc

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

Comments & Activities

  • Issue created by @travisc
  • πŸ‡ΊπŸ‡ΈUnited States travisc
  • πŸ‡ΊπŸ‡ΈUnited States travisc

    I found it, in your config under dependencies

    dependencies:
    module:
    - title_field_for_manage_display

    delete
    - title_field_for_manage_display

  • πŸ‡ΊπŸ‡ΈUnited States frob US

    I'd like a migration guide. Just doing that doesn't actually fix the issues with removing this module. We had to completely rebuild some of the functionality this module offered.

    The way this has been handled has been really disappointing. The maintainers of this module should be ashamed. This module still works with Drupal 10.3 but it cannot be installed without some serious issues. I agree we should turn new users away from this module. Mark it deprecated and say no further work will be done here but as it was handled this module actively blocks the upgrade of sites.

    In the end, I had to fork this module and maintain a custom version to keep it going. It isn't in the budget to migrate to another stop-gap module just to migrate to core functionality when it eventually comes out.

  • πŸ‡ΊπŸ‡ΈUnited States fizcs3 Omaha, Nebraska; USA

    We too have had this module installed for awhile, would love to remove it as it comes up on Available Updates page as: "Project not supported: This project is no longer supported, and is no longer available for download. Uninstalling everything included by this project is strongly recommended!"

    I have not had time to focus on trying to figure out the ramifications of doing so, until now...
    From what I can tell, this is the deal:

    1. This module creates a `field_display_title` for every node and media item. Uninstalling this module is going to remove that field and all of its config from all nodes and media items. Which also means that if you happened to use that `field_display_title` in any view, that field is going to get deleted from the view. You have to go through your views and change those to instead use the base title field, and not `field_display_title`.
    2. If `field_display_title` was referenced in any twig templates or preprocess, you have to again make sure this reference is instead changed to the base title field.
    3. then you can uninstall/remove the module

    However...
    in the meantime, what this module was solving has been attempted to be solved in core via this issue:
    "[META] Expose Title and other base fields in Manage Display" ✨ [META] Expose Title and other base fields in Manage Display Active
    Which is sadly still unsolved after 11 years (ugh)...
    So if this module is uninstalled now, the base issue currently still remains...

Production build 0.71.5 2024