FriendsOfShopware / FroshPlatformThumbnailProcessor

This shopware6 plugin allows you to use variable thumbnails - on the fly.
MIT License
20 stars 13 forks source link

Using PartialDataLoading has wrong paths #145

Closed tinect closed 1 month ago

tinect commented 1 month ago

PHP Version

-

Shopware Version

6.6.6.1

Plugin Version

5.2.0

Actual behaviour

http://localhost/thumbnail/....

Expected behaviour

http://localhost/media/....

Steps to Reproduce?

$criteria = new Criteria();

$criteria->addFields(['cover.media']);
$criteria->addFilter(new EqualsFilter('productNumber', $productNo));
$criteria->addAssociation('cover.media.thumbnails');

return $this->productRepository->search($criteria, $context)->getEntities()->first()?->get('cover')?->get('media');
tinect commented 1 month ago

name has been changed https://github.com/shopware/shopware/commit/6e0787d4313d4200a0e494101511ea9d4d24f454

tinect commented 1 month ago

Fixed with 5.2.1