Skip to content

Commit

Permalink
fix(core): pass all application's information to richApplication
Browse files Browse the repository at this point in the history
* created by/at and modified by/at parameters were not passed to new rich application object because they are not part of application's constructor
* these would be missing in gui applications table
  • Loading branch information
Johaney-s committed Feb 25, 2022
1 parent ed00280 commit ffb58b8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public RichApplication(Application application) {
super(application.getId(), application.getVo(), application.getGroup(), application.getType(),
application.getFedInfo(), application.getState(), application.getExtSourceName(),
application.getExtSourceType(), application.getExtSourceLoa(), application.getUser());
this.setCreatedBy(application.getCreatedBy());
this.setCreatedAt(application.getCreatedAt());
this.setModifiedAt(application.getModifiedAt());
this.setModifiedBy(application.getModifiedBy());
}

public RichApplication(Application application, List<ApplicationFormItemData> formData) {
Expand Down

0 comments on commit ffb58b8

Please sign in to comment.