Fixes bug on setting "Creation User" on a external fetched Grant.
This commit is contained in:
parent
03f025764e
commit
009bd68f71
|
@ -691,6 +691,7 @@ public class DataManagementPlanManager {
|
|||
if (grantEntity != null) grant.setId(grantEntity.getId());
|
||||
else {
|
||||
grant.setType(Grant.GrantType.EXTERNAL.getValue());
|
||||
grant.setCreationUser(null);
|
||||
grantDao.createOrUpdate(grant);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue