-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
ValidationError: Invalid relations
when importOnBootstrap enabled (since v1.2.0)
#109
Comments
Hi @sidemt, I've been able to replicate this issue and directly wrote an extra integration test for the The fix is included in the PR #111
|
Fixed in #111 |
Re-opened. |
@boazpoolman Thank you for the fix. It worked on my side too. |
The fix has been released with v1.2.2 If you're still having this, or any other issue with the plugin beyond v1.2.2 please feel free to open a new issue. |
Bug report
Describe the bug
I'm using this plugin for setting up the test environment. But since v1.2.0 it started failing to import config with
ValidationError: Invalid relations
.I can only reproduce this error when I import config with
importOnBootstrap: true
. If I useyarn cs import
ornpm run cs import
manually, it works.Steps to reproduce the behavior
yarn install
yarn test
ValidationError: Invalid relations
Error log:
Expected behavior
Can import config and run tests successfully.
Screenshots
Code snippets
Minimal code that can reproduce this issue
It's created with the following steps:
npx create-strapi-app@latest config-sync-test --quickstart
importOnBootstrap: true
inconfig/env/test/plugins.js
System
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: