Error adding translated PPI India survey in Windows

Description

PPI India survey for next release was edited to include 3 languages - MIFOS-4252.

Adding this survey on my Windows system causes an error, and survey (question group) can't be added.

AdamM and I tried this on the sandbox instance (ubuntu) and had no issue. The error to the mifos console is:

ERROR, org.hibernate.util.JDBCExceptionReporter, ?, ? , ?, Data truncation: Data
too long for column 'choice_text' at row 1, 03 Dec 2010 11:50:15

Repro steps:
1. deploy latest 1.7.x war
2. drop latest PPI India survey from bi repository in uploads/questionGroups
3. Activate Question Group via Admin page
4. select PPI India, submit

Get error on UI and message above on console.

Environment

Windows only

Activity

Show:
Mifos Hudson Jira Plugin User
December 14, 2010, 6:55 AM

Integrated in

head-e-release #368
Fixed the bug. Setting the encoding as "UTF-8" while reading the questionGroup xml.

Kalyan Akella : 7754429d88cb5c42ec8b1430813ad89f4f220d53
Files :

  • questionnaire/src/main/java/org/mifos/platform/questionnaire/parsers/QuestionGroupDefinitionParserImpl.java

Kalyan Akella
December 14, 2010, 8:09 AM

Fixed in build 368 on release-E branch.

Note on testing: Before testing, delete all the question groups & questions already created from this XML and then try uploading the same XML.

Jeff Brewster
December 14, 2010, 6:55 PM

With build 368, able to now upload PPI India survey on Windows server, and other surveys like Senegal that have extended chars showing up properly.

See attachment showing screenshot of India questions on windows server.

Jeff Brewster
December 14, 2010, 6:57 PM

fixed in E release

Mifos Hudson Jira Plugin User
December 15, 2010, 5:49 AM

Integrated in

head-master #2375
Fixed the bug. Setting the encoding as "UTF-8" while reading the questionGroup xml.

Kalyan Akella : 0661857a24e6d0f96095047c721377c0c35fd2a8
Files :

  • questionnaire/src/main/java/org/mifos/platform/questionnaire/parsers/QuestionGroupDefinitionParserImpl.java

Assignee

Kalyan Akella

Reporter

Jeff Brewster

Labels

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Major
Configure