Skip to content

Commit

Permalink
get execute options fix while delegation preview
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jan 25, 2022
1 parent 3646fa2 commit 5e04e40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,10 @@ private AjaxSubmitButton getButton(String buttonId) {
public boolean isKeepDisplayingResults() {
return executeOptions.isKeepDisplayingResults();
}

public ExecuteChangeOptionsDto getExecuteOptions() {
return executeOptions;
}
// mess

public void addRefreshingProgressPanel() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected void processAdditionalFocalObjectsForPreview(Map<PrismObject<UserType>
}

private ModelExecuteOptions getDelegationPreviewOptions() {
ModelExecuteOptions options = getExecuteChangesOptionsDto().createOptions(getPrismContext());
ModelExecuteOptions options = getProgressPanel().getExecuteOptions().createOptions(getPrismContext());
options.getOrCreatePartialProcessing().setApprovals(PartialProcessingTypeType.PROCESS);
return options;
}
Expand Down

0 comments on commit 5e04e40

Please sign in to comment.