Drupal\commerce_price\Entity\Currency cannot be printed.

Created on 12 September 2023, about 1 year ago

Describe your bug or feature request.

When devel is enabled, and the token module is enabled, when one visits a store's store/12345/devel/token endpoint, an exception is thrown because this entity class lacks the "__toString()" method.

Exception: Object of type Drupal\commerce_price\Entity\Currency cannot be printed. in Drupal\Core\Template\TwigExtension->escapeFilter() (line 454 of /var/www/web/core/lib/Drupal/Core/Template/TwigExtension.php).

🐛 Bug report
Status

Active

Version

2.36

Component

Price

Created by

🇨🇦Canada justsomeguy.com

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024