Skip to content

Commit

Permalink
Merge pull request CESNET#165 from Johaney-s/groupApp
Browse files Browse the repository at this point in the history
 feat(registrar): reload data when moving to group application form
  • Loading branch information
Vojtech-Sassmann authored Jul 22, 2021
2 parents 60afb82 + 479847d commit 5303a3f
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,8 @@ public void call(final PerunPrincipal pp, Summary summary, final Events<Result>
events.onLoadingStart();
this.localPP = pp;

// if there is a VoInitForm then there should be previous step where user submitted VO init application
// it it`s in an auto-approval mode, then User might have been created and we want to reflect this in
// group application, hence we will forcefully reload its form and session info.
if (!registrar.getVoFormInitial().isEmpty() &&
registrar.getVoFormInitialException() == null &&
registrar.hasVoFormAutoApproval()) {
// reload user data for group application
if (!registrar.getVoFormInitial().isEmpty() && registrar.getVoFormInitialException() == null) {

reloadGroupAppData(new JsonEvents() {
@Override
Expand Down

0 comments on commit 5303a3f

Please sign in to comment.