Closed wanze closed 4 months ago
Thanks for reporting this. We have fixed it for the next release.
To get the fix early, change your craftcms/commerce
requirement in composer.json to:
"require": {
"craftcms/commerce": "5.x-dev#1c551d521e40d2775fcc728763e765adf4d5efeb as 5.0.6",
"...": "..."
}
Then run composer update
.
We will update this ticket when the release is out.
5.0.7 is now out and fixes this issue. Thanks!
Description
The job
CatalogPricing
was not able to complete on one of our projects. Turns out the SQL queries executed at the step "Copying base prices to catalog pricing" incraft\commerce\services\CatalogPricing::generateCatalogPrices
do not respect the configured table prefix viaCRAFT_DB_TABLE_PREFIX
.The exception message:
Steps to reproduce
CRAFT_DB_TABLE_PREFIX
)Expected behavior
Job is able to complete with table prefixes :)
Craft CMS version
5.1.4
Craft Commerce version
5.0.6
PHP version
8.3
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
-