This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
v3 to v4 script fails when the U&P plugin is not installed #33
Labels
issue: bug
Issue reporting a bug
issue: enhancement
Issue suggesting an enhancement to an existing feature
severity: medium
If it breaks the basic use of the product but can be worked around
source: v3-SQL to v4-SQL
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Bug report
Required System information
v3-sql-v4-sql
Describe the bug
If the U&P plugin is missing from the target project, the script will crash.
Steps to reproduce the behavior
Pretty straightforward, just try a migration, targeting a project without U&P installed.
Expected behavior
I would expect a warning message explaining that the U&P plugin is probably not installed, and the users' permissions were not migrated. Apart from that everything should work nonetheless.
Or you can choose to stop there and tell the user to add U&P to his/her app but then it implies that U&P is not really a plugin as it's required.
The text was updated successfully, but these errors were encountered: