Baboo7 / strapi-plugin-import-export-entries

Import/Export data from and to your database in just few clicks.
175 stars 86 forks source link

[BUG] Import from a csv file doesnt work from strapi 4.17.1 onwards. #176

Open abhishek1020N opened 6 months ago

abhishek1020N commented 6 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Try to import data on any collection type in strapi 4.17.0 or greater version, I tried with 4.17.0, 4.19.1 and latest 4.20.0.

Expected behavior Should have worked similar to the flow in strapi version 4.16.2.

Screenshots image

image

Additional context Error returned is "Cannot read properties of undefined (reading 'kind')": This is because the slug in import.js service is custom:db instead of the selected collection type, hence const model = getModel(slug); returns undefined.

CodeDruid13 commented 6 months ago

It may be related to this issue after strapi version 4.17 onwards. There are so many recent issues around the issue.

AidosMarcos commented 6 months ago

This error needs to be resolved. Trying to use this to import data to my project.

kevinvugts commented 6 months ago

It seems that @Baboo7 isn't really active on his repository. Or perhabs, really busy? Babtiste, can you please elaborate more on this? And the other open issues..

AidosMarcos commented 2 weeks ago

No news about this?