Importing stock deletes product ref items like images and text

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
kdim95
Advanced
Posts: 207
Joined: 26 Aug 2022, 12:17

Importing stock deletes product ref items like images and text

Post by kdim95 » 18 Apr 2024, 03:02

Laravel framework version: 11.3.1
Aimeos Laravel version: 2023.10.8
PHP Version: 8.2.17
Environment: Linux
aimeoscom/ai-elastic: 2023.04.*

Hello,

Text and images disappear when importing stock.
I think the domains for the products are not selected when updating them.
Is there a config where I need to add the product domains used when importing stock?

Best regards

User avatar
aimeos
Administrator
Posts: 7907
Joined: 01 Jan 1970, 00:00

Re: Importing stock deletes product ref items like images and text

Post by aimeos » 19 Apr 2024, 14:57

You are right, for document-oriented storages, only the basic product data has been saved when updating the instock value. This has been fixed in this commit: https://github.com/aimeos/ai-controller ... 814b278469

You can get the fixed version until a new release is tagged by using:

Code: Select all

composer req aimeos/ai-controller-jobs:2023.10.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kdim95
Advanced
Posts: 207
Joined: 26 Aug 2022, 12:17

Re: Importing stock deletes product ref items like images and text

Post by kdim95 » 23 Apr 2024, 11:31

Thank you, this seems to have solved it

Post Reply