Changeset 2090

Show
Ignore:
Timestamp:
07-11-11 15:51:36 (2 years ago)
Author:
tjeerd@…
Message:

VIS-45 fixed, fieldnames now have URL encoding

Files:
1 modified

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