Merge pull request #403 from nsacyber/rim-lookup-fix

Supplemental RIM Hash Fix
This commit is contained in:
iadgovuser26 2021-10-20 18:15:43 -04:00 committed by GitHub
commit 124752c72d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 6 deletions

View File

@ -92,7 +92,6 @@ public abstract class PageController<P extends PageParams> {
* @return A generic ModelAndView containing basic information for the page.
*/
protected final ModelAndView getBaseModelAndView(final Page newPage) {
ModelMap modelMap = new ExtendedModelMap();
// add page information
@ -110,7 +109,6 @@ public abstract class PageController<P extends PageParams> {
}
return new ModelAndView(newPage.getViewName(), modelMap);
}
/**
@ -170,7 +168,5 @@ public abstract class PageController<P extends PageParams> {
}
return redirect;
}
}

View File

@ -385,7 +385,7 @@ public class ReferenceManifestDetailsPageController
// starts off checking if associated rim is null; that is irrelevant for
// this statement.
measurements = EventLogMeasurements.select(referenceManifestManager)
.byHexDecHash(support.getEventLogHash()).getRIM();
.byHexDecHash(support.getHexDecHash()).getRIM();
if (support.isSwidPatch()) {
data.put("swidPatch", "True");

View File

@ -160,7 +160,6 @@ public class ReferenceManifestPageController
@Override
public void modify(final Criteria criteria) {
criteria.add(Restrictions.isNull(Certificate.ARCHIVE_FIELD));
}
};
FilteredRecordsList<ReferenceManifest> records