You are not logged in.
Pages: 1
mORMot2, commit 2dec5ba
Interface based services
I have an absolutely strange problem with currency. Today I installed the latest version of mORMot. All displayed currency fields are too large by a factor of 1000. Not 40€ is displayed, but 40.000€. Since I install the latest version of mORMot every few days, the problem cannot have been present for long. All parts of the program are affected. Can anyone else verify the issues with currency?
Concrete: On the client side I use mORMot2, commit 2dec5ba. If I use the same version for the server, the error occurs! If I use the mORMot2 version from 21.10.2021 for the server (only for the server), everything runs fine.
With best regards
Thomas
Offline
What is the JSON transmitted in-between?
What the value is! Or am I misunderstanding the question? What other reason could there be? The server with the current mORMot2 version returns 40000, the one with the version from 21.10.2021 and older returns 40. Only the change of mORMot2 version of the server breaks my program.
With best regards
Thomas
Offline
GitHub commit 2312 (3625ff08f60ba3eb27acbca9dfa699946ee62dcf) breaks all!
In this commit, changes were made in handling of the type currency.
I am surprised that problems seem to occur often only in context with my source code and not with others. I think I have to think about this.
With best regards
Thomas
Offline
OK I tried to fix it during Marco's session.
Please check my last commit.
All passed on a short test (server and client). Thanks for the fix. Have a great time at EKON.
With best regards
Thomas
Offline
EKON is 25 years old this year.
What a stability and achievement!
What was your session about?
EDIT: I found it:
- mORMot Cryptography
- Server-Side REST Notifications with mORMot
- High Performance MicroServices
Last edited by Junior/RO (2021-11-10 01:01:30)
Offline
Pages: 1