https://drupal.org/node/2102175

devel_generate is broken because it makes extensive use of field_behaviors_widget().

This is critical because it's one of the reasons for the current test failure.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pcambra’s picture

Some side comments: the widget used to be linked with the instance and with the new form modes this is no longer true, I'll try to check with the field api guys to see what this mean for us as we rely on that dependency for generating field content.

salvis’s picture

The $form_mode should probably be 'default' for our purposes, and 'user.register' for generating users.

Berdir’s picture

Status: Active » Needs review
FileSize
9.21 KB

This is just a start, but this at least makes the generation for articles work again. Further clean-up, proper multiple support, updating the other field types will be necessary too.

pcambra’s picture

Agreed, let's deal with better default config when the move to plugins gets done.

Here's a patch that fixes a myriad of stuff that went in the past weeks related with fields and comments, including #2100305: Comment settings are now a field, adapt the generation

This should fix the tests finally :)

pcambra’s picture

@Berdir: Thanks for the patch, I was already working on #4 and I think it includes all the stuff from #3

joelpittet’s picture

Status: Needs review » Reviewed & tested by the community

I believe #4 has got all the goodies in it:) Thanks @pcambra!

devel_generate works again! back to profiling D8 :)

13rac1’s picture

+1 Works.

pcambra’s picture

Status: Reviewed & tested by the community » Fixed

Thanks @joelpitter & @eosrei for testing it, pushing this to fix the tests

salvis’s picture

Great, thanks to all who contributed!

Status: Fixed » Closed (fixed)

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