Skip to content

Commit

Permalink
View maps entries are not restored in "finally" block of method "View…
Browse files Browse the repository at this point in the history
…MetadataImpl.createMetadataView"
  • Loading branch information
Santos Zatarain authored and BalusC committed May 20, 2023
1 parent 113b0f0 commit 40b8441
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ public UIViewRoot createMetadataView(FacesContext context) {
Map<String, Object> currentViewMap = currentViewRoot.getViewMap(false);

if (!isEmpty(currentViewMap)) {
currentViewMapShallowCopy = new HashMap<>(currentViewMap);
metadataView.getViewMap(true)
.putAll(new HashMap<>(currentViewMap));
.putAll(currentViewMapShallowCopy);
}
}

Expand Down

0 comments on commit 40b8441

Please sign in to comment.