Skip to content

Plugin outdated - not longer working #31

@4levels

Description

@4levels

Hi,

I've been trying to get this plugin to work with the current stable version of Strapi (3.5.4) but it doesn't work at all. Webpack even refuses to parse the .scss files and fails early.

There's 2 forks of this project that already contain quite some fixes:

  1. https://github.com/akoharu/strapi-plugin-import-content
    Deals with the internal change from .id to ._id
  2. https://github.com/khoazero123/strapi-plugin-import-content
    Handles internal path changes and uses the strapi-plugin-helper functions

But even after applying those changes (and renaming all .scss files to .css), the media import doesn't work. Also, the parsing of the existing Strapi models is broken and needs to be revised too.

It seems like the internal uploadProvider is no longer able to upload files programmatically and most guides I find out there are suggesting to use a FormData object and add the file to that, to send it off to the regular api endpoints of the content-manager.

I've asked for help on the Strapi forums as well: https://forum.strapi.io/t/need-help-with-reviving-strapi-plugin-import-content/3937

I also started a fork of this repo to be able to merge my changes with the ones from both forks above to end up with a functional plugin again so I can propose a PR, but I haven't managed to solve the media upload issue either.

@jbeuckm do you have any intentions on updating this plugin? Or have you moved on and should this plugin be considered dead? If the latter, I'll kindly request the Strapi team to remove the blog post as well as it is just misleading at the moment, I've literally spent almost 2 weeks of my time in trying to get it working..

Kind regards,

Erik aka 4levels

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions