Opened 11 years ago
Last modified 6 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 , 11 years ago
Milestone: | → 3.0 |
---|
comment:2 by , 7 years ago
Milestone: | 3.0 → 3.3 |
---|
Note:
See TracTickets
for help on using tickets.
Ticket retargeted after milestone closed