I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
I have:
A Default type component (named country), with a Components (array of components) field referenced (named score).
When syncing out/in, if there is at least one score in the field, I get this error:
failed: Validation error: indicators.iv: Invalid component. Cannot find schema.
The countries that have an empty scores field sync correctly
Expected behavior
Should import whether there are values in the scores field or not
Minimal reproduction of the problem
Minimal simplified schemas:
COUNTRY
{
"schema": {
"fields": [
{
"name": "scores",
"partitioning": "invariant",
"properties": {
"fieldType": "Components",
"schemaIds": [
"score"
]
}
}
],
"isPublished": true
},
"name": "country",
"isSingleton": false,
"schemaType": "Default"
}
SCORE
{
"schema": {
"fields": [
]
},
"name": "score",
"isSingleton": false,
"schemaType": "Component"
}
Environment
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [x] Cloud version
Version: [CLI 9.6]