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

Check for null field storage definition in sql:sanitize #3070

Merged
merged 1 commit into from
Oct 20, 2017

Conversation

kimpepper
Copy link
Contributor

@kimpepper kimpepper commented Oct 16, 2017

We need to check the storage definition exists when looping through user fields and checking ->isBaseField() otherwise you get:

Error: Call to a member function isBaseField() on null in Drush\Drupal\Commands\sql\SanitizeUserFieldsCommands->sanitize()

@kimpepper kimpepper changed the title Check for null field storage definition Check for null field storage definition in sql:sanitize Oct 16, 2017
@weitzman weitzman merged commit a216da2 into drush-ops:master Oct 20, 2017
@weitzman
Copy link
Member

Thanks Kim.

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

Successfully merging this pull request may close these issues.

2 participants