Using Drupal 8.5.1 and latest dev version of Workflow. Successfully set up a workflow with access and tranasitions via the UI. Successfully added Workflow fields to Content Types. Successfully transitioned Content with Workflow fields in Content Type.
Issue: Exported Configuration via the UI. When attempting import using:
drush cim --partial --no-halt-on-error --source=../config/sync -y
I get the following error:
Argument 1 passed to Drupal\workflow\Entity\WorkflowConfigTransition::setWorkflow() must be an instance of Drupal\workflow\Entity\Workflow, null given, called in [error]
.../docroot/modules/contrib/workflow/src/Entity/WorkflowConfigTransition.php on line 72 and defined WorkflowTypeAttributeTrait.php:37
Fatal error: Call to a member function id() on null in .../docroot/modules/contrib/workflow/src/WorkflowTypeAttributeTrait.php on line 38
Drush command terminated abnormally due to an unrecoverable error.
Configuration files attached.
Fixed
1.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.