You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When trying to display value of customer.email where customer is nullable, getting next exception:
An exception has been thrown during the rendering of a template ("PropertyAccessor requires a graph of objects or arrays to operate on, but it found type "NULL" while trying to traverse path "customer.email" at property "email".").
Sylius version affected: 1.7
Description
When trying to display value of
customer.email
where customer is nullable, getting next exception:This is grid configuration:
File where exception throwing: https://github.com/Sylius/SyliusGridBundle/blob/03f8a15ef4d7d83e5e36c9bf4277ca347c925500/src/Component/DataExtractor/PropertyAccessDataExtractor.php
Possible solution
Fallback to empty string or null on exception as shown at:
Setono/SyliusGiftCardPlugin@b8c9347
The text was updated successfully, but these errors were encountered: