Delighted to find the D8 dev version of the this module :)

The following error thrown during content generation with devel_generate and latest Drupal 8:

$ drush genc 40 --types=blog
array_filter() expects parameter 1 to be array, null given ContentDevelGenerate.php:308   [warning]
Finished creating 40 nodes  [status]
Generate process complete.  

Errors no matter what content type I attempt, and fails to generate any content.

I have a fix, patch to follow very shortly. After the fix was very helpful in making me content to test whith. Expect to be using Devel a lot with Drupal 8 so will look out for other issues and fixed etc.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chris_hall_hu_cheng’s picture

Issue summary: View changes

Fixed the formatting of the code etc.

chris_hall_hu_cheng’s picture

Title: Error thrown during during content generation » Error thrown during content generation

Changed title.

chris_hall_hu_cheng’s picture

Seems to be down to a typo, extra level occidentally added to the values array .

This patch fixed it for more anyway.

chris_hall_hu_cheng’s picture

Status: Active » Needs review

Please confirm the fix.

gagarine’s picture

Status: Needs review » Reviewed & tested by the community

It works for me

moshe weitzman’s picture

Assigning to pcambra

pcambra’s picture

Category: Bug report » Task
Priority: Critical » Normal
Status: Reviewed & tested by the community » Fixed

Thanks for the patch and the heads up :)

Tested and fixed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.