- Issue created by @jim_b
- π¨πΎCyprus alex.bukach
Thanks @jim_b, I faced the same issue, and the workaround worked for me.
The docs are now inaccurate.
This example command in the docs: `drush dcde node
`
Now fails with the error:
[error] TypeError: Drupal\default_content_deploy\Exporter::setEntityBundle(): Argument #1 ($bundle) must be of type string, null given, called in /app/web/modules/contrib/default_content_deploy/src/Commands/DefaultContentDeployCommands.php on line 133 in Drupal\default_content_deploy\Exporter->setEntityBundle() (line 262 of /app/web/modules/contrib/default_content_deploy/src/Exporter.php) #0 /app/web/modules/contrib/default_content_deploy/src/Commands/DefaultContentDeployCommands.php(133): Drupal\default_content_deploy\Exporter->setEntityBundle(NULL)
Similarly, the command `drush dcde taxonomy_term
` will also fail.
Run command:
drush dcde node
Update the docs to explain that now the bundle flag is required (even if it is empty).
For example this command works:
drush dcde taxonomy_term --bundle= --folder='../content'
(Sidenote: It appears the folder parameter is now required as well, even if the folder is defined in settings.php)
Active
2.1
Documentation
Thanks @jim_b, I faced the same issue, and the workaround worked for me.