dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10942
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3018: Cannot remove all of member from a Indicator group (View 1) into data element and indicator group...
------------------------------------------------------------
revno: 3018
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-03-14 10:41:53 +0700
message:
Cannot remove all of member from a Indicator group (View 1) into data element and indicator group editor.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/indicatorgroup/UpdateIndicatorGroupAction.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/indicatorgroup/UpdateIndicatorGroupAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/indicatorgroup/UpdateIndicatorGroupAction.java 2010-04-12 21:23:33 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/indicatorgroup/UpdateIndicatorGroupAction.java 2011-03-14 03:41:53 +0000
@@ -111,6 +111,9 @@
}
indicatorGroup.setMembers( members );
+ }else
+ {
+ indicatorGroup.setMembers( null );
}
indicatorService.updateIndicatorGroup( indicatorGroup );