Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2103393-field_behaviors_widget-3.patch | 28.03 KB | pcambra |
#3 | generate-2103393.patch | 9.21 KB | Berdir |
Comments
Comment #1
pcambraSome 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.
Comment #2
salvisThe $form_mode should probably be 'default' for our purposes, and 'user.register' for generating users.
Comment #3
BerdirThis 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.
Comment #4
pcambraAgreed, 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 :)
Comment #5
pcambra@Berdir: Thanks for the patch, I was already working on #4 and I think it includes all the stuff from #3
Comment #6
joelpittetI believe #4 has got all the goodies in it:) Thanks @pcambra!
devel_generate works again! back to profiling D8 :)
Comment #7
13rac1 CreditAttribution: 13rac1 commented+1 Works.
Comment #8
pcambraThanks @joelpitter & @eosrei for testing it, pushing this to fix the tests
Comment #9
salvisGreat, thanks to all who contributed!