KamoCRM

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.

所有更改

就像你看到的运输?

所有东西都是靠自己运入你的工作空间的 从免费计划开始,一个月后再读这页.

永远开始自由查看定价