- Issue created by @orcalator
- Status changed to Needs review
about 1 year ago 5:02pm 16 January 2024 Do you still have a View using the Calendar View display?
If yes, this is your issue.
Reinstall the module, change the display and uninstall the module.
Let me know.
TY
Hi @matthieuscarset
I deleted all the views that were connected to the calendar but i still can't remove calendar_view module. Same error is displayed. Don't know what to do.
regards.
- πΊπΈUnited States dealancer Washington D.C.
Wow! This is a breaking update, it should be either be a different branch or have an upgrade path.
- Status changed to Postponed: needs info
11 months ago 7:33am 24 March 2024 I do not manage to reproduce the issue.
I tested on several different projects of mine, existing Drupal 9 and D10 sites and also from scratch with the minimal and standard profile.
I can install and uninstall the calendar_view correctly.
I think your issue is related to the old plugin which where named `calendar` and was removed in
2.0.7
.There should not be any issue in any other versions.
A workaround if you're stuck in this situation:
- composer require drupal/calendar_view:2.0.6
- drush en calendar_view
- drush cr
- Delete or update your Calendar Views
- drush pmu calendar_view
- composer remove drupal/calendar_view
Could you please confirm that you manage to uninstall the plugin this way?
- Status changed to Closed: outdated
11 months ago 7:34am 24 March 2024 - Status changed to Active
9 months ago 2:14pm 6 May 2024 - πΊπΈUnited States arnoldbird
I had a similar issue today. Even after re-installing calendar_view, I continued to see an error saying the calendar_month plugin did not exist. Clearing the cache did not fix the problem but visiting /update.php fixed that issue. I was then able to delete the view display that depends on the calendar_view module.
However, I was still not able to delete the calendar_view module without deleting my events view, even though none of the displays in the view actually depended on the calendar_view module at this point. I then exported the config for the view and saw that calendar_view was still listed as a dependency in the config, even though none of the view's remaining displays use any of the formats provided by calendar_view. I then manually removed the dependency on calendar_view by editing the view's config file, and I then imported that config. I was then able to uninstall calendar_view without deleting my events view.
- Status changed to Postponed: needs info
6 months ago 8:37pm 17 August 2024 I'm sorry but i don't manage to reproduce the error.
I installed the module on a a fresh D11 site. I created a new Calendar View and then I uninstalled the module without any issue.
There is no issue with the config too - as the view is deleted.
I can even reimport the configuration with
drush cim
and the module is reinstalled + the view recreated.Marking this issue as Postponed. We need a detailed step by step method to reproduce it.