- Issue created by @znerol
Automatically closed - issue fixed for 2 weeks with no activity.
The customer_profiles field on the user entity has no field storage definition. As a result ToneExtraFields::containsToneReference()
crashes when attempting to traverse entity references with the following error:
TypeError: Drupal\tone\ToneExtraFields::containsToneReference(): Argument #1 ($definition) must be of type Drupal\Core\Field\FieldStorageDefinitionInterface, null given, called in modules/contrib/tone/src/ToneExtraFields.php on line 172 in Drupal\tone\ToneExtraFields->containsToneReference() (line 153 of modules/contrib/tone/src/ToneExtraFields.php).
Attempt to use tone module on a commerce site.
Guard against null
in $definitions[$fieldName]
.
Fixed
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.