404 on uninstall flow

Created on 17 January 2023, almost 2 years ago
Updated 20 January 2023, almost 2 years ago

Problem/Motivation

There is a improvement that we can do on uninstall because the normal flow there is an error.

Steps to reproduce

  1. Install the empty_front_page drush en empty_front_page -y
  2. Open the page /admin/config/system/site-information, and see the front-page to /empty-front-page
  3. Open the front page and you'll see that is a empty front-page
  4. Uninstall the empty_front_page drush pmu empty_front_page -y
  5. Go to the page /admin/config/system/site-information, and see the front-page still there /empty-front-page
  6. Open the front page

Result: You'll see the 404 page not found

Expected: The home should back to the original state when Drupal is installed

Proposed resolution

Implements hook_uninstall to apply the logic when is uninstalled back the value to empty as the default when the Drupal is installed

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇧🇷Brazil renatog Campinas

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to RTBC almost 2 years ago
Production build 0.71.5 2024