basicInfo.REPORT_ID = acraLog.REPORT_ID;
basicInfo.USER_CRASH_DATE = acraLog.USER_CRASH_DATE;
basicInfo.Timestamp = acraLog.Timestamp;
// find mapping.
MappingFileInfo mapping = ofy.load().type(MappingFileInfo.class).filter("PACKAGE_NAME", acraLog.PACKAGE_NAME).filter("version", acraLog.APP_VERSION_NAME).first().now();
if (mapping != null)
{
MappingFileInfo mostRecentMapping = ofy.load().type(MappingFileInfo.class).filter("PACKAGE_NAME", acraLog.PACKAGE_NAME).order("-uploadDate").limit(1).first().now();
if (mostRecentMapping != null)
{
if (mostRecentMapping.getId() != mapping.getId())
{
// old version, lets write out message
response.getWriter().println("OLD VERSION");
if (appPackage.DiscardOldVersionReports)
{