Skip to content

Commit

Permalink
Merge branch 'release/1.7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
iperdomo committed Jul 15, 2014
2 parents c07c8b5 + 006ae0d commit efe7a01
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ private SurveyInstance createInstance(RawDataImportRequest importReq) {
inst.setUuid(UUID.randomUUID().toString());
inst.setSurveyedLocaleId(importReq.getSurveyedLocaleId());
inst.setUuid(UUID.randomUUID().toString());
inst.setSubmitterName(importReq.getSubmitter());
inst.setSurveyalTime(importReq.getSurveyDuration());
SurveyInstanceDAO instDao = new SurveyInstanceDAO();
inst = instDao.save(inst);
// set the key so the subsequent logic can populate it in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,11 @@ protected void populateFields(HttpServletRequest req) throws Exception {
req.getParameter(SUBMITTER_PARAM), "UTF-8"));
}
if (req.getParameter(DURATION_PARAM) != null) {
Double duration = Double.valueOf(req.getParameter(DURATION_PARAM));
setSurveyDuration(duration.longValue());
try {
setSurveyDuration(Long.valueOf(req.getParameter(DURATION_PARAM)));
} catch (NumberFormatException e) {
setSurveyDuration(0L);
}
}
}

Expand Down
7 changes: 7 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ Read more about the [Akvo Platform](http://www.akvo.org/blog/?p=4822).

Akvo FLOW Dashboard release notes
----
#1.7.0.3

## Resolved issues

* Submitter name missing when importing RAW DATA spreadsheet [#662]


#1.7.0.2

## Resolved issues
Expand Down

0 comments on commit efe7a01

Please sign in to comment.