mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-24 07:06:46 +00:00
updateSupportRimInfo was not setting associated rim on base
This commit is contained in:
parent
f28f75be58
commit
0728756cb7
@ -462,12 +462,14 @@ public class ReferenceManifestPageController extends PageController<NoPageParams
|
||||
supportRim.setPlatformModel(dbBaseRim.getPlatformModel());
|
||||
supportRim.setTagId(dbBaseRim.getTagId());
|
||||
supportRim.setAssociatedRim(dbBaseRim.getId());
|
||||
dbBaseRim.setAssociatedRim(supportRim.getId());
|
||||
supportRim.setUpdated(true);
|
||||
referenceManifestRepository.save(supportRim);
|
||||
updatedSupportRims.put(supportHash, supportRim);
|
||||
}
|
||||
}
|
||||
}
|
||||
referenceManifestRepository.save(dbBaseRim);
|
||||
}
|
||||
|
||||
return updatedSupportRims;
|
||||
|
Loading…
Reference in New Issue
Block a user