Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk content editing options on content overview don't work #45

Open
keelanfh opened this issue Feb 28, 2023 · 4 comments
Open

Bulk content editing options on content overview don't work #45

keelanfh opened this issue Feb 28, 2023 · 4 comments

Comments

@keelanfh
Copy link
Member

Steps to replicate

  1. Navigate to content overview
  2. Select one or more pieces of content
  3. Select "Unpublish content" or "Publish content" from dropdown menu
  4. Click "Apply to selected items"

image

Result

Warning messages appear:

Step by step page content items were skipped as they are under moderation and may not be directly unpublished.
No access to execute Unpublish content on the Content SbSp2.

image

At Essex, we've removed a lot of the options from the dropdown menu, including these, and other things like "Make sticky at top of lists".

@andybroomfield
Copy link
Contributor

You'll need moderated content bulk publish.

@stephen-cox
Copy link
Member

I'm not sure if there's a nice way to deal with this problem.

If a workflow is enabled for a content type then you won't be able to publish/unpublish it using Views Bulk Operations. If all content is in a workflow then these options are superfluous, but if only some content is in a workflow then it will work for some and not for others.

The Moderated Content Bulk Publish module adds options that work on content in a workflow, but give errors is it isn't.

The issue here being the main content admin view doesn't make it clear what options will work on which content.

I'm open to suggestions on how to modify this view and the action list, but it seems to me there are UX issues with the core workflow setup.

@keelanfh
Copy link
Member Author

Hmm, probably just my own ignorance here that I didn't know it was possible to enable for some content types and not others. Is that something that councils commonly do?

@stephen-cox
Copy link
Member

We automatically add all the LGD content types to our workflow when the Workflow module is enabled, but this can be changed at /admin/config/workflow/workflows/manage/localgov_editorial.

As this can be changed on a site basis I'm wary about automatically showing or hiding actions for all sites, but if it most sites are going with the default then we could hide the publish/unpublish options when the Workflow module is enabled. Would be good to get some feedback from others on this.

@stephen-cox stephen-cox removed their assignment Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants