-2

The following error appears in the default state at Home>Administration>Structure>Views>Moderated content>Edit.

No valid values found on filter: Content revision: Moderation state.

What is wrong?

  • Did you try to run update.php? – 4k4 Aug 7 at 15:28
  • Yes. Drupal is 8.7.4 for test in Pantheon. In Pantheon, update.php is executed at the time of deployment. – Smokey Blues Aug 8 at 0:58
0

I compared the views on the newly installed site. In the "Is not one of" operator, no options were selected. After setting up the workflow, I realized that I needed to check it. Thank you.

  • 1
    update.php runs an update on the pre-installed view. If somehow the update hook was skipped, then you can update it by hand like in your answer, but easier in such cases is to reinstall the view, which you find in /core/modules/content_moderation/config/optional/views.view.moderated_content.yml to copy and paste it into the single import of config UI. – 4k4 Aug 8 at 6:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.