Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Custom data updates are not cached when calling account/group save() #30

Description

@lhazlewood

When the SDK is configured with a CacheManager, and you change a custom data value, and then later query that value, the old value is shown. For example:

String accountHref = account.getHref();

String value = account.getCustomData().get("foo");  
System.out.println(value); //prints "bar"

account.getCustomData().put("foo", "whatever");
account.save(); //persists change back to the server

//lookup the account:
account = client.getResource(href, Account.class);
value = account.getCustomData().get("foo");
System.out.println(value); // prints "bar", but SHOULD print "whatever"

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions