Module removes title permanently, prevents adding new content

Created on 16 May 2023, over 1 year ago
Updated 22 May 2023, over 1 year ago

Problem/Motivation

On a Drupal 9.5.9 installation, PHP 8.1.14, installing this module and enabling auto nodetitle on an entity type seems to permanently hide the field. Disabling auto nodetitle on a node or even uninstalling the module thereafter keeps the node's title field removed. If you try to create a new node in such circumstances, you'll get a whitescreen error because there is no title for the node entered. Clearing the cache, running the update script or re-syncing import does nothing, same with truncating all cache fields in the DB.

As such, installing this module, enabling for a node, and not using it thereafter effectively borks the site.

Steps to reproduce

1. Install module
2. Enable for a node type (set auto title as x field)
3. Uncheck enable for node type
4. The title field remains hidden, and new content of that type cannot be added.

Proposed resolution

If auto node type is installed and enabled on the node, if you remove its functionality, the title field should re-appear as it did before the module was installed.

🐛 Bug report
Status

Needs review

Version

1.2

Component

Code

Created by

🇺🇸United States tripodcreative

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

Comments & Activities

Production build 0.71.5 2024