Step 10 of 10 in Tagging lessons
Sample data, read from content-sdk
When a change to a term is refused
Ben is tidying up Subjects. Some of what he tries, the tools won't do, and each time they say why.
The rules protect lessons: no term disappears while lessons have it, no two terms side by side share a label, and a field's rules keep working. Each refusal names what's in the way.
Try it: choose each change Ben tries, and read what he'd be told.
What Ben would be told
Ben deletes the strand Equivalent fractions
Equivalent fractions can't be deleted while a lesson has it
Ben deletes the strand Equivalent fractions. He'd be told: Equivalent fractions can't be deleted while a lesson has it. Equivalent Fractions with Fraction Strips is tagged with it, in its working and its published version. Merge it into another strand instead, which moves the tag.
If you tried this
When lessons keep a term from being deleted, merge it into another instead: that moves its tags, then deletes it. A term with terms under it needs them moved first.