Open abhishek1020N opened 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.
This error needs to be resolved. Trying to use this to import data to my project.
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..
No news about this?
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
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.