← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1822: Removed more ognl errors due to un-encoded string parameters being passed.

 

------------------------------------------------------------
revno: 1822
committer: Bob Jolliffe <bobj@bobj-laptop>
branch nick: trunk
timestamp: Wed 2010-04-28 13:41:49 +0100
message:
  Removed more ognl errors due to un-encoded string parameters being passed.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editCustomValues.vm
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/selectDataElement.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
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editCustomValues.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editCustomValues.vm	2010-03-08 14:50:40 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editCustomValues.vm	2010-04-28 12:41:49 +0000
@@ -331,9 +331,7 @@
   var requestString = 'getSelectedDataElements.action';
   
   var params = 'dataSetId=' + document.getElementById( 'dataSetIdField' ).value;
-        
-  params += '&designCode=' + htmlCode;
-  
+         
   request.sendAsPost( params );
   request.send( requestString );
 

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/selectDataElement.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/selectDataElement.vm	2009-09-04 10:27:10 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/selectDataElement.vm	2010-04-28 12:41:49 +0000
@@ -536,9 +536,7 @@
   var requestString = 'getSelectedDataElements.action';
   
   var params = 'dataSetId=' + document.getElementById( 'dataSetIdField' ).value;
-        
-  params += '&designCode=' + htmlCode;
-  
+          
   request.sendAsPost( params );
   request.send( requestString );
 
@@ -767,4 +765,4 @@
 		</tr>									
 		<input type="hidden" name="dataSetIdField" id="dataSetIdField" value="$dataSet.id" />
 </body>
-</html>
\ No newline at end of file
+</html>


Follow ups