Changeset 2035


Ignore:
Timestamp:
Sep 26, 2011, 6:35:56 PM (9 years ago)
Author:
taco@…
Message:

visualization/VisualizeController.groovy, modules that appear to be offline or non-responsive are now checked only once even if another assay uses that module. These assays are ignored. This way, we prevent unnecessary delays for the client.

File:
1 edited

Legend:

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

    r2033 r2035  
    194194        } catch(Exception e){
    195195            //returnError(404, "An error occured while trying to collect field data from a module. Most likely, this module is offline.")
     196            offlineModules.add(assay.module.id)
    196197            infoMessageOfflineModules.add(assay.module.name)
    197198            log.error("VisualizationController: getFields: "+e)
     
    978979        infoMessageOfflineModules.unique()
    979980        if(infoMessageOfflineModules.size()>0){
    980             String message = "Unfortunately "
     981            String message = "Unfortunately"
    981982            infoMessageOfflineModules.eachWithIndex{ it, index ->
    982983                if(index==(infoMessageOfflineModules.size()-2)){
Note: See TracChangeset for help on using the changeset viewer.