-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Milestone
Description
In SurveyInstanceDAO, L578:
akvo-flow/GAE/src/org/waterforpeople/mapping/dao/SurveyInstanceDAO.java
Lines 578 to 579 in cce3c3a
| List<SurveyQuestionSummary> summaryList = summDao.listByResponse( | |
| qasItem.getQuestionID(), qasItem.getValue()); |
it is possible for qasItem.getValue() to return > 1500 chars, but summDao.listByResponse() cannot handle that:
java.lang.IllegalArgumentException: response: String properties must be 1500 bytes or less. Instead, use com.google.appengine.api.datastore.Text, which can store strings of any length. at org.datanucleus.api.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:488) at org.datanucleus.api.jdo.JDOQuery.executeWithMap(JDOQuery.java:351) at org.waterforpeople.mapping.analytics.dao.SurveyQuestionSummaryDao.listByResponse(SurveyQuestionSummaryDao.java:158) at org.waterforpeople.mapping.dao.SurveyInstanceDAO.deleteSurveyInstance(SurveyInstanceDAO.java:578) at org.waterforpeople.mapping.app.web.rest.SurveyInstanceRestService.deleteSurveyInstanceById(SurveyInstanceRestService.java:243)Metadata
Metadata
Labels
No labels