Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.3.12
-
None
Description
When you generate a migration file with data migration, source for Image Fields is provided in the following way:
value: id: 7/0/3/0/307-1-eng-GB/vergongeat_full.jpg path: 7/0/3/0/307-1-eng-GB/vergongeat_full.jpg ...
When you import a file like this with ibexa:migrations:migrate, the images are not imported correctly.
What is necessary to import an image correctly is:
1. Modify the migration file so the id points to the file name directly:
value: id: vergongeat_full.jpg path: 7/0/3/0/307-1-eng-GB/vergongeat_full.jpg ...
2. Place image files in public/var/site/storage/images