Changeset 2090


Ignore:
Timestamp:
Nov 7, 2011, 3:51:36 PM (12 years ago)
Author:
tjeerd@…
Message:

VIS-45 fixed, fieldnames now have URL encoding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/visualization/VisualizeController.groovy

    r2087 r2090  
    196196            callUrl = ""+assay.module.url + "/rest/getMeasurements/query?"+urlVars
    197197            def json = moduleCommunicationService.callModuleRestMethodJSON( assay.module.url /* consumer */, callUrl );
     198
    198199            def collection = []
    199200            json.each{ jason ->
     
    454455        if( assay ) {
    455456            // Request for a particular assay and a particular feature
    456             def urlVars = "assayToken=" + assay.assayUUID + "&measurementToken="+fieldName
     457            def urlVars = "assayToken=" + assay.assayUUID + "&measurementToken="+fieldName.encodeAsURL()
    457458            urlVars += "&" + samples.collect { "sampleToken=" + it.sampleUUID }.join( "&" );
    458459
Note: See TracChangeset for help on using the changeset viewer.