dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #12890
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4033: Fixed bug: Can't edit value type of data element.
------------------------------------------------------------
revno: 4033
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-06-29 15:45:16 +0700
message:
Fixed bug: Can't edit value type of data element.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/UpdateDataElementAction.java
--
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
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/UpdateDataElementAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/UpdateDataElementAction.java 2011-05-05 21:15:45 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/UpdateDataElementAction.java 2011-06-29 08:45:16 +0000
@@ -138,7 +138,14 @@
{
this.numberType = numberType;
}
+
+ private String valueType;
+ public void setValueType( String valueType )
+ {
+ this.valueType = valueType;
+ }
+
private String aggregationOperator;
public void setAggregationOperator( String aggregationOperator )
@@ -215,6 +222,7 @@
dataElement.setDescription( description );
dataElement.setActive( active );
dataElement.setDomainType( domainType );
+ dataElement.setType( valueType );
dataElement.setNumberType( numberType );
dataElement.setAggregationOperator( aggregationOperator );
dataElement.setUrl( url );