KamoCRM

Clearing the image version has to send "", not null

Fixkamo-internal
Shipped
September 23, 2026 at 8:55 AM UTC
Author
Kamo
Commit
6aa8c04

**************** merges rather than replaces, and for the image version a null means "leave whatever is there alone" — only a blank string clears it: if (incoming.getImageVersion() != null) { **************** ? null : ...); } The tab turned an emptied box into null, so unpublishing an image would have looked like it worked and then shown the old version again on the next load. The state holds a string throughout now. Worth noting because the two fields either side behave the OPPOSITE way: for the per-organization and per-member caps, null is a real stored value meaning "no limit", and those go through positiveOrNull unconditionally. Same payload, same JSON null, two different meanings — so the interface says which is which rather than leaving the next reader to check the Java.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing