Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/maven/fixes/8.1' into maven/rele…
Browse files Browse the repository at this point in the history
…ase/8.1
  • Loading branch information
metaventis-build committed Jul 25, 2024
2 parents 97bab8b + 4ebd559 commit c6fb7ea
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,10 @@ public void updateNodeNative(StoreRef store, String nodeId, Map<String, ?> _prop
(m,entry)-> m.put(QName.createQName(entry.getKey()), (Serializable) entry.getValue()),
HashMap::putAll
);

// check that no interceptor has set a previously null variable
propsNull.removeIf(prop -> propsStore.get(prop) != null);

nodeService.setProperties(nodeRef, propsStore);
// do in transaction to disable behaviour
// otherwise interceptors might be called multiple times -> the final update props is enough!
Expand Down

0 comments on commit c6fb7ea

Please sign in to comment.