← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1525: add log info when dataelement id was exist in dataentry form but was deleted in the system

 

------------------------------------------------------------
revno: 1525
committer: Tran Thanh Tri <Tran Thanh Tri@compaq>
branch nick: trunk
timestamp: Tue 2010-03-02 13:33:18 +0700
message:
  add log info when dataelement id was exist in dataentry form but was deleted in the system
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.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-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.java'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.java	2010-03-02 05:43:25 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.java	2010-03-02 06:33:18 +0000
@@ -338,9 +338,9 @@
 
                 if ( dataElement == null )
                 {
-                    log.error( "Data Element exits in data entry form but not in this Data Set: " + dataElementId );
+                    log.info( "Data Element does not exist in system : " + dataElementId );
                     
-                    return "This data element not exits in data set: " + dataElementId;
+                    return "Data Element does not exist in system : " + dataElementId;
                 }
 
                 // -------------------------------------------------------------