Errors questionnaire.error.QuestionTitleMatchesExistingQuestion should be eliminated from additional field migration

Description

During migration tests a lot of additional fields weren't migrated, because they had the same name. Such situation should be properly handled, i.e. newly created questions should get new unique names.

Environment

None

Activity

Show:
Mifos Hudson Jira Plugin User
December 16, 2010, 4:07 PM

Integrated in

head-e-release #373
FIXED MIFOS-4340: Generate new question names in case of duplicates.

Jakub Slawinski : 79315df7e19ebef2b790dc4bab7949990b3adbab
Files :

  • application/src/main/java/org/mifos/application/questionnaire/migration/mappers/QuestionnaireMigrationMapperImpl.java

Jakub Sławiński
December 16, 2010, 4:19 PM

Resolved in commit 79315df7e19ebef2b790dc4bab7949990b3adbab.

I implemented this in such a way, that in case of duplicated question a postfix is appended to it (_1, _2, _3, etc.).

Lukasz Chudy
December 16, 2010, 4:30 PM

Verified on 16.12.2010
Bug is fixed properly.

Commit: 79315df7e19ebef2b790dc4bab7949990b3adbab
Build Number: hudson-head-e-release-373

Mifos Hudson Jira Plugin User
December 16, 2010, 4:53 PM

Integrated in

head-master #2402
FIXED MIFOS-4340: Generate new question names in case of duplicates.

Jakub Slawinski : 5d43b90b79562ea2c9c95d03fbb15ffddee78bda
Files :

  • application/src/main/java/org/mifos/application/questionnaire/migration/mappers/QuestionnaireMigrationMapperImpl.java

Mifos Hudson Jira Plugin User
December 16, 2010, 6:01 PM

Integrated in

head-master #2404
MIFOS-4340: Fixed import issues after cherry-pick from e-release.

Jakub Slawinski : d1b0b5cb3e82607b2b15c3d3d0f5534dce70ad02
Files :

  • application/src/main/java/org/mifos/application/questionnaire/migration/mappers/QuestionnaireMigrationMapperImpl.java

Assignee

Jakub Sławiński

Reporter

Jakub Sławiński

Labels

None

URL

None

Story Points

0.5

Team

Core

Scheduled For

Release

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Affects versions

Priority

Major
Configure