core.date_format.appointments_date already exists reinstalling the module

Created on 25 August 2020, over 4 years ago
Updated 8 November 2023, about 1 year ago

Problem/Motivation

Reinstalling the module I get
Configuration objects (core.date_format.appointments_date) provided by appointments already exist in active configuration

Steps to reproduce

Install the module
drush en appointments
then uninstall it (dependencies included)
drush pmu appointments, workflows, content_moderation, inline_entity_form
and finally reinstall it again
drush en appointments

Proposed resolution

Delete core.date_format.appointments_date using hook_uninstall()

🐛 Bug report
Status

Active

Component

Code

Created by

🇮🇹Italy robertoperuzzo 🇮🇹 Tezze sul Brenta, VI

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.

  • 🇺🇦Ukraine osab Germany, Baden-Württemberg; Ukraine, Kharkiv

    I think we can fix this by moving
    core.date_format.appointments_date.yml
    workflows.workflow.appointments.yml
    to appointments/config/install/optional.

Production build 0.71.5 2024