KamoCRM

Hold withTermsUnchanged to carrying every field

TestSecurityService
Ya
2 Septemba 2026, 16:56 UTC
Mwandishi
Kamo
Ahadi ya
0bd1b32

The method rebuilds UpdateQuoteRequest positionally, so a field added to that record and forgotten here is dropped from every save by a member without EDIT_QUOTE_TERMS — silently, at HTTP 200, with the editor re-rendering the stored blank as though the member had cleared it. setupFee hit exactly that. The test walks the record's components by reflection rather than naming them, so a component added tomorrow is covered without anyone remembering to come back here. Verified by reintroducing the bug: it fails with 'setupFee was dropped'.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei