NIHVIVO-1462 Handle requests for non-existent individuals

This commit is contained in:
rjy7 2011-01-04 19:30:24 +00:00
parent bc2a2dbc1a
commit 46a17a9c46
3 changed files with 8 additions and 8 deletions

View file

@ -660,7 +660,7 @@ public class IndividualController extends FreemarkerHttpServlet {
body.put("title","Individual Not Found");
body.put("errorMessage", "The individual was not found in the system.");
return new TemplateResponseValues(Template.TITLED_ERROR_MESSAGE.toString(), body, HttpServletResponse.SC_NOT_FOUND);
return new TemplateResponseValues(Template.TITLED_ERROR_MESSAGE.toString(), body);
}
}