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

Fixed php warning on exception #219

Open
marcelovani opened this issue Jan 10, 2020 · 0 comments
Open

Fixed php warning on exception #219

marcelovani opened this issue Jan 10, 2020 · 0 comments

Comments

@marcelovani
Copy link
Contributor

I am getting this warning when creating terms for vocabularies that don't exist.

Warning: sprintf(): Too few arguments in vendor/drupal/drupal-driver/src/Drupal/Driver/Cores/Drupal7.php line 319

To replicate, use this:

Given "vocabname" terms:

And run the test.

Current behaviour, as above.

Expected behaviour:
Show the name of the invalid vocabulary name. i.e. No "locations" vocabulary found.

marcelovani added a commit to marcelovani/DrupalDriver that referenced this issue Jan 10, 2020
@marcelovani marcelovani changed the title Fix php warning on exception Fixed php warning on exception Jan 10, 2020
jhedstrom added a commit that referenced this issue Jan 24, 2020
jhedstrom added a commit that referenced this issue Jan 24, 2020
#219 Fixed message

Signed-off-by: Jonathan Hedstrom <jhedstrom@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant