Concrete
Rulesfixtures

concrete/fixtures/held-row-not-in-property

A content entry holds a row its property does not carry; the slot loads empty, as a deleted row does.

A content entry holds a row its property does not carry; the slot loads empty, as a deleted row does.

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 row slot holds the id of one of its property's rows, such as a unit or a contact. A fixture that holds a row the property no longer carries (a unit that was removed, a contact renamed) loads the way the app loads a deleted row: the slot is empty, and everything that reads it reads nothing. The fixture still loads, so a property edit never has to rewrite the fixtures on that property, but the case it was written to show is gone.

Fix

Hold a row the property carries, or remove the stated row so the slot holds its default.

Before and after

{
  "content": {
    "agent-1": { "slots": { "agent": { "agent": "jane-doe" } } }
  }
}
{
  "content": {
    "agent-1": { "slots": { "agent": { "agent": "mira" } } }
  }
}

On this page