Changed decimal format pattern

When testing the migration attempt of a production application from Jmix 1.4.4 to 1.5.5 the customer noticed, that the format for decimal numbers changed showing two decimals in a fixed way now.

After creating a git diff between the translation add-on between version 1.4 and 1.5 I found: Change default format string for decimal datatype.

The mentioned application has more than 80 screens and it is quite hard to find all decimal columns which are not displaying e.g. money amounts and define explicit formatting each.

As a workaround I’m going to overwrite the changed pattern in the application specific localization resource file and redefine the pattern with the content of version 1.4.

In terms of technical changes this is not a breaking one - but for the customer it is broken.

I would have appreciated to read about that change in the release notes, so we can prepare the migration properly.

You are right, it’s worth mentioning in release notes.
Better late than never: https://docs.jmix.io/1.x/jmix/1.5/whats-new/index.html#decimal-format

Regards,
Konstantin

1 Like