Skip to content

Commit

Permalink
RCF-990 Fixed handles issue
Browse files Browse the repository at this point in the history
Signed-off-by: kameshsr <[email protected]>
  • Loading branch information
kameshsr committed Sep 19, 2024
1 parent 2391bb0 commit 52e1389
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ public Map<String, Object> getMailingAttributesFromIdentity(Set<String> template
if (identityNodeObj instanceof ArrayList) {
List identityValueList = (List) identityNodeObj;
for (Object identityValue : identityValueList) {
if(identityValue instanceof String){
continue;
}
JsonValue jsonValue = mapper.convertValue(identityValue, JsonValue.class);
if (templateLangauges.contains(jsonValue.getLanguage())) {
attributes.put(mappingValue + "_" + jsonValue.getLanguage(), jsonValue.getValue());
Expand Down

0 comments on commit 52e1389

Please sign in to comment.