-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Open
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:data-transferSource is core/data-transfer packageSource is core/data-transfer packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community membersversion: 5Issue is present in Strapi 5Issue is present in Strapi 5
Description
Bug report
Required System information
- Node.js version: v20.10.0
- NPM version: 10.2.3
- Strapi version: 5.7.0
- Database: Postgres
- Operating system: OS: darwin-arm64 Sequoia 15.1
- Is your project Javascript or Typescript: Typescript
Describe the bug
I am exporting data from a v4 Strapi instance and importing it into to a v5 Strapi instance. And all the records are in my database as they should, but are not visible in Strapi. I discoverd that this is caused by the fact that there are no draft versions of the records available in the database (probably because in Strapi v4 it is one and the same record).
Steps to reproduce the behavior
- Follow the export documentation on a v4 instance
- Follow the import documentation on a v5 instance
Expected behavior
Would it be an idea to auto create a draft version (containing the data from the published version including relations) when the imported record has an published_at value?
Additonal notes
I am upgrading Strapi manually hence why I am porting the data manually.
Metadata
Metadata
Assignees
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:data-transferSource is core/data-transfer packageSource is core/data-transfer packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community membersversion: 5Issue is present in Strapi 5Issue is present in Strapi 5
Type
Projects
Status
To be reviewed (Open)
Status
To triage