mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-24 23:26:50 +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.setPlatformModel(dbBaseRim.getPlatformModel());
|
||||||
supportRim.setTagId(dbBaseRim.getTagId());
|
supportRim.setTagId(dbBaseRim.getTagId());
|
||||||
supportRim.setAssociatedRim(dbBaseRim.getId());
|
supportRim.setAssociatedRim(dbBaseRim.getId());
|
||||||
|
dbBaseRim.setAssociatedRim(supportRim.getId());
|
||||||
supportRim.setUpdated(true);
|
supportRim.setUpdated(true);
|
||||||
referenceManifestRepository.save(supportRim);
|
referenceManifestRepository.save(supportRim);
|
||||||
updatedSupportRims.put(supportHash, supportRim);
|
updatedSupportRims.put(supportHash, supportRim);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
referenceManifestRepository.save(dbBaseRim);
|
||||||
}
|
}
|
||||||
|
|
||||||
return updatedSupportRims;
|
return updatedSupportRims;
|
||||||
|
Loading…
Reference in New Issue
Block a user