As import/export script
taken fieldId is defined in Strapi pluginOptions
taken all Id fields are removed from ExportDataFile
I am importing JSON-V2 data structure to strapi with goal to allow different IDs on Source and Destination Strapi instance, but keeping references to components based on Ids in ExportDataFile
This PR uses the existing fileIdToDbId mapping and applies it to relations and media which were ignored until now.
Related to: https://github.com/Baboo7/strapi-plugin-import-export-entries/issues/151 User story:
As import/export script taken
fieldId
is defined in Strapi pluginOptions taken allId
fields are removed from ExportDataFile I am importing JSON-V2 data structure to strapi with goal to allow different IDs on Source and Destination Strapi instance, but keeping references to components based on Ids in ExportDataFileThis PR uses the existing
fileIdToDbId
mapping and applies it to relations and media which were ignored until now.Tested (all passing)