Opened 5 years ago
Closed 4 years ago
#1485000 closed Bugs (fixed)
AJAX call not handling server error 500/501
| Reported by: | jnordstrom | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-beta |
| Component: | Client Scripts | Version: | 0.1.1 |
| Severity: | major | Keywords: | |
| Cc: |
Description
The apache web server may throw a server error 500/501 for a number of reasons. When this happens the client request should show the error to the user. Currently when forwarding a message the client just hangs with the message "Sending Message" I debugged this with (Firebug) and confirmed the server is throwing an error 501. I also tested by generating a server 500 error.
Please note in my case the error 500 is coming from a server that is closer to the client in the network stack then the Roundcube apache server, other examples are caching proxies, security proxies, web firewalls, etc.
Change History (2)
comment:1 Changed 5 years ago by till
comment:2 Changed 4 years ago by alec
- Milestone changed from later to 0.3-beta
- Resolution set to fixed
- Status changed from new to closed
Fixed in [9ff9f516].

I think Jquery allows us to do this very easily.