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

Fixkamo-internal
Ya
27 Agosti 2026, 04:00 UTC
Mwandishi
kamo
Ahadi ya
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.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei