fix: a facet value outside the vocabulary is refused, a value proposed by the model is kept for review #75

Closed
opened 2026-11-29 18:12:29 +00:00 by crapougnax · 0 comments
Owner

Found during the end-to-end test of 2026-11-29. The curation form only offers the vocabulary of a facet; the API accepts the save and silently drops an unknown value (reported in rejected).

Expected (closed vocabulary, #52):

  • PUT /api/tenant/documents/<theme>/<slug>: a value outside the vocabulary is refused (400), naming the facet and the value. A facet declared without values stays open.
  • Ingestion: values the model proposes outside the vocabulary are not written as facet values, but kept on the record as proposals, so a tenant administrator can add them to the vocabulary.
Found during the end-to-end test of 2026-11-29. The curation form only offers the vocabulary of a facet; the API accepts the save and silently drops an unknown value (reported in `rejected`). **Expected** (closed vocabulary, #52): - `PUT /api/tenant/documents/<theme>/<slug>`: a value outside the vocabulary is refused (400), naming the facet and the value. A facet declared without `values` stays open. - Ingestion: values the model proposes outside the vocabulary are not written as facet values, but kept on the record as proposals, so a tenant administrator can add them to the vocabulary.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
modaka/studio#75
No description provided.