The wrong hash was use for the look up

This commit is contained in:
Cyrus 2021-10-18 09:53:59 -04:00
parent e5470eded5
commit 8f2290300e
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