Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninformative error handling with unknown entity/bundle types #118

Open
jonathanjfshaw opened this issue Jan 2, 2017 · 1 comment
Open
Labels

Comments

@jonathanjfshaw
Copy link
Contributor

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

@pfrenssen pfrenssen added the bug label Jan 3, 2017
@jonathanjfshaw
Copy link
Contributor Author

Fixed by #157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants