Identify the Error
Relationship errors occur when therelationships section of your domain model YAML contains invalid references or incompatible settings. Common symptoms include:
- Connection fails to start after saving the domain model
- “Left error” or “right error” messages in the server log
- Navigation columns appear empty or fail to expand
- Expansion paths in the sheet configuration produce no results
Step 1: Verify Entity Type References
Every relationship must reference valid entity type names in itsfrom and to fields. These must match keys defined under domainModelTypes:
Step 2: Check the Error Mapping
Use this table to quickly identify the source of relationship errors:| Error Signal | Cause | Fix |
|---|---|---|
| ”left error” | Invalid from entity type | Correct from to match a domainModelTypes key |
| ”right error” | Invalid to entity type | Correct to to match a domainModelTypes key |
| Empty navigation column | Missing direct.name or back.name | Add navigation property names |
| Expansion path fails | Navigation name mismatch | Align expand path with direct.name/back.name |
| Link not persisted | Wrong linkRole | Match linkRole to a Polarion link role ID |
Step 3: Use Correct Navigation Property Names
Thedirect.name and back.name fields create navigation properties on the source and target entity types. These names are used in column binding paths and expansion paths:
Step 4: Verify the Link Role
ThelinkRole must match a link role defined in your Polarion project configuration. Check Administration > Work Items > Link Roles in Polarion to confirm the link role ID exists.
Step 5: Validate Cardinality
Ensure thecardinality value matches the actual relationship between your entity types:
| Cardinality | Meaning | Column Behavior |
|---|---|---|
one-to-one | Single entity each direction | Single-value cell |
many-to-one | Many source to one target | Single-value cell |
one-to-many | One source to many targets | Multi-item display |
many-to-many | Many on both sides | Multi-item with linking mode |
Verification
After correcting the relationship configuration:- Save the domain model
- Confirm the connection restarts to Active status
- Open the powersheet document and expand a row with related entities
- You should now see child entities appearing correctly under the expansion path
See Also
- Configure a Relationship — complete relationship setup
- Create Bidirectional Links — two-way navigation
- Configure Many-to-Many Relationships — many-to-many setup
- Fix Type Name Errors — related entity naming issues
Sources: model.yaml, riskmanagement_model.yaml, sf_model.yaml, DomainModelV2.java, ticket insights
Sources
Sources
Support TicketsSource Code
DomainModelV2.javamodel.yamlriskmanagement_model.yamlsf_model.yamlprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/models/constraints-base.yaml