updateSupportRimInfo was not setting associated rim on base

This commit is contained in:
iadgovuser29 2024-07-15 11:22:49 -04:00
parent f28f75be58
commit 0728756cb7

View File

@ -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;