concrete/fixtures/media-not-in-property
A content entry references a media entry its property does not carry.
A content entry references a media entry its property does not carry.
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
Content is stated about a property: a fixture's media values are picks of that property's uploads, not files of their own. A fixture resolves through the platform's own bake, which looks each pick up by id and mints the URL the render will see — so a photo the property does not carry resolves to nothing, and the slot renders its empty branch while the fixture claims to have filled it.
Fix
Pick an upload of the property the fixture names. If the image genuinely belongs to this
listing, add it to the property's uploads (and its file to the property's folder) and
pick it from there; a content fixture is not the place to introduce media.
Before and after
{
"property": "properties/riverside/property.json",
"content": {
"hero-1": { "slots": { "shot": { "media": "stock" } } }
}
}{
"property": "properties/riverside/property.json",
"content": {
"hero-1": { "slots": { "shot": { "media": "deck" } } }
}
}The riverside property's uploads carry a deck photo under the id "deck", and no "stock".
