title | issue | author | author_email | author_github |
---|---|---|---|---|
Multiple product media import export |
NEXT-14709 |
d.neustadt |
d.neustadt@shopware.com |
dneustadt |
- Added
hash
property and getter inShopware\Core\Content\Media\File\MediaFile
for storing a file hash. - Changed
Shopware\Core\Content\Media\File\FileFetcher
to hash file and store it in instance ofMediaFile
. - Changed
Shopware\Core\Content\Media\Metadata
to add file hash to metadata from instance ofMediaFile
. - Changed
Shopware\Core\Content\ImportExport\DataAbstractionLayer\Serializer\Entity::deserialize
to use file hash for fetching existingmedia
data sets linked to an identical file, unless a specificid
is provided. - Changed
Shopware\Core\Content\ImportExport\DataAbstractionLayer\Serializer\Entity\ProductSerializer::deserialize
to read URLs in the format ofhttp://example.com/example1.png|http://example.com/example2.png
frommedia
key and deserialize them usingMediaSerializer
. - Changed
Shopware\Core\Content\ImportExport\DataAbstractionLayer\Serializer\Entity\ProductSerializer::serialize
to write URLs in the format ofhttp://example.com/example1.png|http://example.com/example2.png
to mappedmedia
key from existing product media.
- Changed
sw-import-export-entity-path-select
to handle one-to-manymedia
assocation in mapping