Uninstall wants to delete whole view

Created on 3 May 2024, 8 months ago
Updated 6 May 2024, 8 months ago

Problem/Motivation

Attempting to uninstall views_ical, it wants to delete any views that included an ical display. It should not delete the entire view since there can be other displays in the view that have nothing to do with ical.

Steps to reproduce

1. Install views_ical.
2. Create a view with a content type block.
3. Create an iCal display in the same view and set the path, then save.
4. Attempt to uninstall and observe the module wants to delete the whole view. Optionally delete the ical view display first, such that ical is no longer used by the view, and observe that the module still wants to delete the entire view.

Proposed resolution

Change uninstaller to not delete entire views.

If this is intended behavior, which it shouldn't be, then it should be made explicitly clear in usage instructions and readme that a NEW VIEW should be made solely for using this module. Using an existing view and adding an iCal display to it will risk destroying the entire view on uninstall.

πŸ› Bug report
Status

Active

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States j_s

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

Comments & Activities

Production build 0.71.5 2024