Ignore:
Timestamp:
Mar 2, 2010, 9:12:24 AM (15 years ago)
Author:
gav
Message:

Add a logFileLink to the import error messages.
Small adjustment to asset import redirect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/AssetDetailedController.groovy

    r414 r421  
    6363        def result = assetCsvService.importAssetTree(request)
    6464
    65         if(!result.error)
     65        if(!result.error) {
    6666            flash.message = g.message(code: "asset.tree.import.success")
    67         else
    68             flash.errorMessage = g.message(code: result.error.code, args: result.error.args)
    69 
     67            redirect(action:search)
     68            return
     69        }
     70
     71        flash.errorMessage = g.message(code: result.error.code, args: result.error.args)
    7072        redirect(action: importAssetTree)
    7173    }
Note: See TracChangeset for help on using the changeset viewer.