Changeset 2810


Ignore:
Timestamp:
15/08/07 13:43:54 (12 years ago)
Author:
domlowe
Message:

correct rendering of access denied message in wcs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs.py

    r2809 r2810  
    235235        #try: 
    236236        rstatus,dataset=interface.GetParsedCSML(uri)                 
    237         if not rstatus: raise ValueError(dataset) 
     237        if not rstatus:  
     238            c.xml='<div class="error">%s</div>'%dataset 
     239            resp=render_response('error') 
     240            return resp 
    238241        feature = dataset.getFeature(identifier) 
    239242        if feature is None: 
Note: See TracChangeset for help on using the changeset viewer.