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.
Hi,
I reinstalled Drupal8 today, and also git pull'd devel. I then enabled both modules. When I attempted to generate users, I got the message
Warning: Missing argument 2 for field_info_field(), called in /var/www/drupal-8/modules/devel/devel_generate/devel_generate.fields.inc on line 23 and defined in field_info_field() (line 214 of core/modules/field/field.deprecated.inc).
Notice: Undefined variable: field_name in field_info_field() (line 215 of core/modules/field/field.deprecated.inc).
InvalidArgumentException: Field is unknown. in Drupal\Core\Entity\EntityNG->getTranslatedField() (line 299 of /var/www/drupal-8/core/lib/Drupal/Core/Entity/EntityNG.php).
Regards,
Comment | File | Size | Author |
---|---|---|---|
#3 | 2082443-fields_entity_type_devel-3.patch | 4.99 KB | pcambra |
Comments
Comment #1
pcambraYeah, this has changed the way fields work: https://drupal.org/node/2078765
Comment #2
KartagisWhen will this be fixed?
Comment #3
pcambraThe more you help, the faster it will be fixed.
Here's a patch that adapts the code to support D8 new fields.
I'm setting this as a task because, honestly, considering major bugs every time the core updates big stuff and devel gets something broken doesn't looks to me as a workflow at all.
Comment #5
pcambra#3: 2082443-fields_entity_type_devel-3.patch queued for re-testing.
Comment #6
KartagisIt works now. You can commit it.
Thanks a lot.
PS: Wasn't sure whether to mark it RTBC or fixed, so marking it RTBC.
Regards,
K.
Comment #7
pcambraThanks for testing, marking as fixed