HProjectIteration version =
projectIterationDAO.getBySlug(projectSlug, versionSlug);
if (version == null || version.getStatus() == EntityStatus.OBSOLETE ||
version.getProject().getStatus() == EntityStatus.OBSOLETE) {
throw new NoSuchEntityException(projectSlug + "/" + versionSlug);
}
HPerson person = personDAO.findByUsername(username);
if (person == null) {
throw new NoSuchEntityException(username);
}
String[] dateRange = dateRangeParam.split("\\.\\.");
if (dateRange.length != 2) {
throw new InvalidDateParamException(dateRangeParam);