DrupalDriver icon indicating copy to clipboard operation
DrupalDriver copied to clipboard

Uninformative error handling with unknown entity/bundle types

Open jonathanjfshaw opened this issue 8 years ago • 1 comments

The new EntityContext (and possibly pre-existing code) don't provide very informative errors if the entity or bundle doesn't exist. (Run entity.feature against aa Drupal 8 installation using the Minimal profile to see examples).

Instead you get a lot of: Catchable Fatal Error: Object of class stdClass could not be converted to string in vendor/drupal/drupal-driver/src/Drupal/Driver/Cores/Drupal8.php line 438

jonathanjfshaw avatar Jan 02 '17 13:01 jonathanjfshaw

Fixed by #157

jonathanjfshaw avatar Jan 17 '18 18:01 jonathanjfshaw