Social Core should not depend on views_bulk_operations

Created on 28 January 2020, over 4 years ago
Updated 16 February 2024, 8 months ago

Problem

We've added the ViewsBulkOperationsFormTrait to SocialCoreController. This creates a dependency of social_core on the views_bulk_operations module even though this module isn't necessarily needed at the core of Open Social.

Additionally this mixes reusable logic for VBO users with controller paths that are used by social_core itself.

Solution

Remove the VBO code from SocialCoreController. Either move it into a custom trait and keep the dependency on vbo in social_core or move it to a custom module that other modules can rely on.

The latter option has preference as it makes VBO support optional again.

🐛 Bug report
Status

Active

Version

8.0

Component

Code (back-end)

Created by

🇳🇱Netherlands kingdutch

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.

Production build 0.71.5 2024