Open VeckansE opened 7 months ago
I was having CSV imports fail in Strapi 4.17.0 with an error in the browser:
"error": "Cannot read properties of undefined (reading 'kind')",
And in the console
error: Model custom:db not found
This fix also addresses that issue.
This fixed has worked for us with Strapi version 4.24.2... it would be great it this was added to the plugin code.
FYI. We needed to delete the .cache directory and run npm run build
to get it to take effect.
The export function only exports the full database and not the specific collection-type or single-type
To Reproduce Install strapi v4.17.0
This issue appears to stem from a change in the location pathname from.
admin/content-manager/collectionType/plugin::users-permissions.user
intoadmin/content-manager/collection-types/plugin::users-permissions.user
and can be fixed by updating.
into
in useSlug
😃