Implement a post update hook to resave views

Created on 28 June 2023, over 1 year ago
Updated 20 September 2023, about 1 year ago

Problem/Motivation

After fixing the calculation of the dependencies inside chart views style πŸ› calculateDependencies using wrong parameter in Views style plugin Fixed , it looks like the views need to be re-saved so that they can properly calculate their dependencies to include the chart library provider module.

Steps to reproduce

Update to the latest 5.0.7 version then try to uninstall an existing module that provide a chart library plugin being used in a view. Drupal won't warn you that you are about to uninstall a module that your view is dependent on.

Proposed resolution

Implement a HOOK_post_update_HOOK that re-save all the views that use the chart view style plugin.

Remaining tasks

N/A

User interface changes

N/A

API changes

Data model changes

N/A

πŸ“Œ Task
Status

Fixed

Version

5.0

Component

Views integration

Created by

πŸ‡¨πŸ‡¦Canada nikathone Ontario

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

Comments & Activities

Production build 0.71.5 2024