[
https://issues.apache.org/jira/browse/IGNITE-25119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18108918#comment-18108918
]
Ignite TC Bot commented on IGNITE-25119:
----------------------------------------
I reviewed implementation PR #12102 and commit 4e6a6c54ca in the local Ignite 2
checkout. This is a .NET binary serialization bug fix for decimal values with
negative scale and does not add a new .NET API, configuration option, or
user-facing documentation surface. I removed only Docs Required and preserved
Release Notes Required.
> .NET: Decimal value scale overflow on representable values
> ----------------------------------------------------------
>
> Key: IGNITE-25119
> URL: https://issues.apache.org/jira/browse/IGNITE-25119
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 2.17
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: .NET
> Fix For: 2.18
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> BigDecimal values like "7.3770697413E+11" or "1E+1", when inserted from Java
> and read from .NET, result in an exception:
> {code}
> Decimal value scale overflow (must be between 0 and 28): -1
> {code}
> There is even a test for that in *TestEchoDecimal*.
> Those values can be represented in .NET (as 737706974130 and 10,
> respectively), we should not throw exceptions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)