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

Fixkamo-internal
Shipped
August 27, 2026 at 4:00 AM UTC
Author
kamo
Commit
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.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing