Hi Sebastian,
I think I found a bug (or maybe it’s by design?)
Steps to reproduce:
- Click on Create new schema
- Type the name of your new schema
- Click Import button at the bottom of the dialog
- Paste your Json of a schema from some other Squidex instance
- Click Create
If you’ve specified List Fields and/or Reference Fields under UI for your schema and these arrays contain values in. your Json you will get a red banner that says:
Validation error.
* FieldsInLists[0]: Field is not part of the schema.
* FieldsInLists[1]: Field is not part of the schema.
* FieldsInLists[2]: Field is not part of the schema.
* FieldsInLists[3]: Field is not part of the schema.
* FieldsInLists[4]: Field is not part of the schema.
* FieldsInLists[5]: Field is not part of the schema.
* FieldsInReferences[0]: Field is not part of the schema.
* FieldsInReferences[1]: Field is not part of the schema.
Work-around:
Remove all values from the following arrays in the Json before clicking Create:
"fieldsInLists": [],
"fieldsInReferences": [],