concrete/fixtures/instance-not-placed
A content entry names an instance the composition does not place.
A content entry names an instance the composition does not place.
Graded by the fixtures stage of concrete check, in the tree venue. A violation reports this id and the file it failed at — see every rule and concrete check.
Reason
A content entry is addressed to one section instance, not to a section: the id is what the editor, the fill and the stored document all use, and it exists only because a page placed it. A fixture resolves over the composition the page probe derived, so an entry naming an instance no page places has nothing to attach to — and the section it meant to fill renders empty while the fixture looks full.
Fix
Either place the instance (<Hero instance="hero-2" /> on some page) or key the entry to
the one that exists. A section's first placement is the section key and -1, a second
placement of it -2.
Before and after
{
"property": "properties/riverside/property.json",
"content": {
"hero-2": { "slots": { "headline": "Light-filled corner unit" } }
}
}{
"property": "properties/riverside/property.json",
"content": {
"hero-1": { "slots": { "headline": "Light-filled corner unit" } }
}
}The pages place the hero once, so its one instance is hero-1.
