[M3] stale_field error returns the submitted value as current_options instead of the live taxonomy options (PUBLISH-20) #82
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PUBLISH-20requires a stale value to produce a field-level error with the current options. The API returns the value the client just submitted in that slot, so a UI renderingdetail.current_optionswould present the rejected value as if it were the option list.Found in a read-only review of
main@b99cbdf(2026-09-20). 63 backend tests pass and both docs gates pass at that commit; these are gaps the green suite does not cover.Observed evidence
backend/slabs.py:148-158:Reproduction:
999is the client's own input echoed back. The live options live inwoo_attribute_terms/woo_categories/woo_tags— the same tables_check_taxonomyjust queried.Acceptance
detail.current_optionscarries the actual current term/category/tag list for that field (id + name), read from the taxonomy tables.Related
#77(stale-field recovery at publish UI),#45Closed by M3 Option A: main
0c00d25+ UAT QUALITY-110 evidence.0.5.0-m3,woo_reachable: truetest-woook (taxonomy synced)product_id=48147matching reviewed ready setcurrent_options, #83 unknown-field/taxonomy 4xx, #84 health probe+version, #89 Create title/short from review, #98 live-edge from synced edge term + attr slug resolve