[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4867: Add/update organisation unit: Removed the feature type selection - org units are saved as points ...

revision-diff.txt (17.1 KB)

Regards, Knut (via mobile phone)

···

On Oct 6, 2011 8:36 PM, noreply@launchpad.net wrote:


revno: 4867
committer: Lars Helge Overland larshelge@gmail.com
branch nick: dhis2
timestamp: Thu 2011-10-06 20:31:41 +0200
message:

Add/update organisation unit: Removed the feature type selection - org units are saved as points as default through the user interface. Allowed for optional input of latitude and longitude which are validated as numbers. This means that users cannot enter invalid points and cannot enter polygon coordinates at all. In update screen users can only modify latitude and longitude if the org unit has no coordinates or a valid point coordinate. We will rely on automated imports for polygon coordinates.

removed:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/webapp/dhis-web-maintenance-organisationunit/javascript/featureType.js
modified:
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/ValidationUtils.java

dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/AddOrganisationUnitAction.java

dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/GetOrganisationUnitAction.java
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/UpdateOrganisationUnitAction.java

dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/resources/org/hisp/dhis/oum/i18n_module.properties
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/webapp/dhis-web-maintenance-organisationunit/addOrganisationUnitForm.vm

dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/webapp/dhis-web-maintenance-organisationunit/updateOrganisationUnitForm.vm


lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription