Opened 10 years ago

Last modified 5 years ago

#2473 new defect

Errors from the mapagent should be in the same format the originating request should be expecting

Reported by: jng Owned by: jng
Priority: medium Milestone: 4.0
Component: Map Agent Version:
Severity: minor Keywords:
Cc: External ID:

Description

When an error is thrown by the mapagent, a html page containing the error details is returned.

This makes no sense if the request is expecting a response in XML or JSON format. In such cases, the error should be formatted into the expected format that can be processed by the client making the original request.

If we make an XML request, we should expect an XML-formatted error message. If we make a JSON request, we should expect an JSON-formatted error message.

Change History (3)

comment:1 by jng, 10 years ago

Milestone: 3.0

comment:2 by jng, 6 years ago

Milestone: 3.03.3

Ticket retargeted after milestone closed

comment:3 by jng, 5 years ago

Milestone: 3.34.0

Milestone renamed

Note: See TracTickets for help on using tickets.