Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abhishek1020N opened this issue Feb 12, 2024 · 4 comments
Open
Assignees

Comments

@abhishek1020N
Copy link

abhishek1020N commented Feb 12, 2024

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
Copy link

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

@AidosMarcos
Copy link

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

@kevinvugts
Copy link

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
Copy link

No news about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants