Skip to content

Android, Fix JsonObjectWrapper to load internal map on constructor. #957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

fpanizza
Copy link
Contributor

Problem

JsonObjectWrapper internal map has not values in Android when using GxProperties.

Issue
Error en procedure offline en U12
https://issues.genexus.dev/viewissue?IssueId=203969&TabCode=

Solution

Continue of #942

Fix JsonObjectWrapper to load internal map on constructor if has items in Android.
In Java Json Lib, items are load in contructor via put() method. In android internal has leaves empty and Json lib internal hashmap are only loaded.
So after construtor init internal map of JsonObjectWrapper with Android Specific implementation.

@fpanizza fpanizza requested review from jotapeg and iroqueta March 28, 2025 15:39
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@fpanizza fpanizza merged commit 95a6919 into master Apr 1, 2025
10 checks passed
@fpanizza fpanizza deleted the fix/android-jsonwrapper branch April 1, 2025 12:44
fpanizza added a commit that referenced this pull request Apr 3, 2025
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.

4 participants