Ticket #194 (new defect)

Opened 12 months ago

Last modified 12 months ago

We don't handle Geoserver error messages.

Reported by: tcoulter Owned by:
Priority: critical Milestone: 1.8 GeoServing Gracefully
Component: FrontEnd Keywords:
Cc:

Description

This isn't permission status codes; this is actual error messages. Like, when Geoserver tells you a save has FAILED, or when we get an exception report. We should handle these gracefully.

Change History

Changed 12 months ago by tcoulter

There's some stuff in OL's SaveFeature? control that might help:

var response = request.responseText;

if (response.indexOf('SUCCESS') != -1

response.indexOf('TransactionSummary?')) { this.onSuccess(response);

} else if (response.indexOf('FAILED') != -1

response.indexOf('Exception') != -1) { this.onFailure(response);

}

Changed 12 months ago by sbenthall

  • milestone changed from 2.0 Future to 1.4 GeoServing Gracefully
Note: See TracTickets for help on using tickets.