Changeset 2120
- Timestamp:
- Nov 25, 2011, 3:36:45 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/application.properties
r2108 r2120 13 13 plugins.db-util=0.4 14 14 plugins.famfamfam=1.0.1 15 plugins.gdt=0.1. 816 plugins.gdtimporter=0.4.6. 615 plugins.gdt=0.1.9 16 plugins.gdtimporter=0.4.6.7 17 17 plugins.grom=0.2.2 18 18 plugins.hibernate=1.3.7 -
trunk/grails-app/conf/Config.groovy
r1922 r2120 56 56 // console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n') 57 57 //} 58 58 59 59 // info "grails.app" 60 60 -
trunk/grails-app/controllers/dbnp/studycapturing/AssayController.groovy
r2095 r2120 58 58 59 59 // interpret the params set and gather the data 60 flow.rowData = collectAssayData(flow.assay, fieldMapSelection, measurementTokens, [])60 flow.rowData = collectAssayData(flow.assay, fieldMapSelection, measurementTokens, flow.assay.samples) 61 61 62 62 // remember the selected file type -
trunk/grails-app/services/dbnp/modules/ModuleCommunicationService.groovy
r2049 r2120 183 183 // Store the response in cache 184 184 storeInCache( restUrl, restResponse, args ); 185 185 186 186 return restResponse 187 187 … … 205 205 def user = authenticationService.getLoggedInUser(); 206 206 def userId = user ? user.id : -1; 207 207 208 208 url = cacheUrl( url, args ) 209 209 -
trunk/grails-app/services/dbnp/studycapturing/AssayService.groovy
r2095 r2120 171 171 172 172 // Find samples and sort by name 173 if ( !samples)174 samples = assay.samples.toList().sort { it.name }173 if ( !samples ) samples = assay.samples.toList() 174 samples = samples.sort { it.name } 175 175 176 176 def eventFieldMap = [:] … … 194 194 } catch (e) { 195 195 moduleMeasurementData = ['error' : ['Module error, module not available or unknown assay'] * samples.size() ] 196 e.printStackTrace() 196 197 moduleError = e.message 197 198 } … … 311 312 def query = "assayToken=$assay.assayUUID$tokenString" 312 313 314 if (samples) { 315 query += '&' + samples*.sampleUUID.collect { "sampleToken=$it" }.join('&') 316 } 317 313 318 def sampleTokens = [], measurementTokens = [], moduleData = [] 314 319 … … 316 321 (sampleTokens, measurementTokens, moduleData) = moduleCommunicationService.callModuleMethod(moduleUrl, path, query, "POST", remoteUser) 317 322 } catch (e) { 323 e.printStackTrace() 318 324 throw new Exception("An error occured while trying to get the measurement data from the $assay.module.name. \ 319 325 This means the module containing the measurement data is not available right now. Please try again \
Note: See TracChangeset
for help on using the changeset viewer.