=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/registration-controller.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/registration-controller.js 2015-09-24 14:38:58 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/registration-controller.js 2015-09-28 13:08:36 +0000 @@ -268,7 +268,7 @@ if(effect.ineffect) { var dialogOptions = { headerText: 'validation_error', - bodyText: effect.content + bodyText: effect.content + effect.data }; DialogService.showDialog({}, dialogOptions); $scope.selectedTei[effect.trackedEntityAttribute.id] = $scope.tei[effect.trackedEntityAttribute.id]; @@ -280,7 +280,7 @@ } else if (effect.action === "SHOWWARNING") { if (effect.trackedEntityAttribute) { if(effect.ineffect) { - $scope.warningMessages.push(effect.content); + $scope.warningMessages.push(effect.content + effect.data); } } else {