Skip to content

Fix RestAPIClient decimal parsing in non-invariant cultures#1154

Merged
claudiamurialdo merged 1 commit into
masterfrom
fix/rest-api-client
Jun 10, 2025
Merged

Fix RestAPIClient decimal parsing in non-invariant cultures#1154
claudiamurialdo merged 1 commit into
masterfrom
fix/rest-api-client

Conversation

@claudiamurialdo

Copy link
Copy Markdown
Collaborator

Improved GXRestAPIClient with optimized numeric handling and invariant culture support

  • Added centralized GetBodyValue method to extract values directly from response data
  • Optimized numeric parsing to avoid unnecessary string conversions when working with various numeric types
  • Added trace error handling

Unit Tests:

  • Added unit tests to verify invariant culture handling with decimal values
  • Included culture-specific tests that verify correct behavior when system is using non-invariant cultures

Issue:204865

Improved GXRestAPIClient with optimized numeric handling and invariant culture support
@claudiamurialdo claudiamurialdo temporarily deployed to kafka-integration-tests June 9, 2025 17:00 — with GitHub Actions Inactive
@claudiamurialdo claudiamurialdo had a problem deploying to external-storage-tests June 9, 2025 17:00 — with GitHub Actions Failure
@genexusbot

Copy link
Copy Markdown
Contributor
Cherry pick to beta success

@claudiamurialdo claudiamurialdo merged commit 8d11092 into master Jun 10, 2025
9 of 10 checks passed
@claudiamurialdo claudiamurialdo deleted the fix/rest-api-client branch June 10, 2025 11:19
claudiamurialdo added a commit that referenced this pull request Jun 10, 2025
Improved GXRestAPIClient with optimized numeric handling and invariant culture support

(cherry picked from commit 8d11092)

# Conflicts:
#	dotnet/src/dotnetframework/GxClasses/Helpers/GXRestAPIClient.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants