Price-list entry read and update spoke to the wrong endpoint

Fixkamo-internal
已装运
2026年8月27日 04:00 UTC
作者
kamo
提交
2995a47

Two silent client/server mismatches made the retail price-list entry screen's write path dead: - the entries list was unwrapped with the key "entries", but CommerceMarketController answers Map.of("priceListEntries", items), so unwrapArray fell through to [] and every price list looked empty; - the entry update PUT went to **************** while the controller maps **************** — the delete call one line below already used the singular spelling, which is why the typo survived review. Pinned by a source-level assertion that reads both commerceApi.ts and CommerceMarketController.java and compares the literals: the property is "two strings agree with a Java file in another repo", which no runtime test here can observe. The cross-repo half skips when the SecurityService checkout is absent; the client-side half always runs.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价