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
When assigning a price to a product that coincidentally matches the ID of a tax class, the product overview in the backend incorrectly attempts to use the fully rendered price as an ID for foreign key resolution on the price field.
Steps to Reproduce
Set a product price to 3.00.
Ensure a tax class exists with the ID 3 (e.g., Standard 19% (ID 3)).
In the backend product overview, the system executes an incorrect query:
SELECT name AS value FROM tl_iso_tax_class WHERE id ='3.00 (Standard 19%)'LIMIT0,1
In the product overview the price will now be missing and the (most likely) incorrect tax class will be shown instead:
When assigning a price to a product that coincidentally matches the ID of a tax class, the product overview in the backend incorrectly attempts to use the fully rendered price as an ID for foreign key resolution on the price field.
Steps to Reproduce
3.00
.This is due to a fix from PR #2341 where
DC_ProductData
tries to resolve theforeignKey
set on theprice
field intl_iso_products
.See 0fa4462#diff-89b47cb2c0f1f23a7fb8bfbdf7bb203e94fa8cef702e9ec3afca305fe1cc4a02R1616-R1629
The text was updated successfully, but these errors were encountered: