KamoCRM

Handle legacy ordinal strings for CountryType via AttributeConverter

Fixkamo-shared-library
Shipped
29 ஏப்ரல், 2026 அன்று 1:53 AM UTC
Author
Kamo
Commit
ba68aff

DB rows had country stored as ordinal integers (e.g. "186" for UNITED_STATES) instead of enum names, causing IllegalArgumentException on findAll(). CountryTypeConverter falls back to ordinal lookup when valueOf fails, and always writes by name going forward.

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