contentful-management.java icon indicating copy to clipboard operation
contentful-management.java copied to clipboard

update(entry) results in empty fields #123

Open abbasmeeran opened this issue 10 months ago • 0 comments

We are using Java sdk to update entries using the following calls

CMAEntry entry = cmaClient.entries() .fetchOne(spaceId, environmentId, entryId); entry.setField(fieldId, targetLocale, textContent); CMAEntry updatedEntry = cmaClient.entries().update(entry); This code we execute in parallel using multiple lambdas for different locale Though this updates fields for a specific locale, Update happens for the entire entry with all locales

This results in empty values for some fields on few locales

Can we use PATCH request to update only specific locale fields in each lambda

Will this fix the problem

abbasmeeran avatar Mar 24 '25 17:03 abbasmeeran