Bug #518
Error message undefined when stopping the server.
Status: | Closed | Start date: | 03/08/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Hector Sanjuan | % Done: | 100% | |
Category: | Sunstone | Estimated time: | 0.20 hour | |
Target version: | Release 3.0 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: |
Description
Sunstone javascript doesn't react well when the server has been stopped. Function onError expects an error message to parse, however it is undefined in this case. Line 2648 one-ui-views.js:
if (m = message.match(action_error)) {
...
Associated revisions
Fixes bug #518
onError() now checks if the error message is empty and warn the user that the server is not reachable.
History
#1 Updated by Jaime Melis over 10 years ago
- Target version changed from Release 2.2 to Release 3.0
#2 Updated by Hector Sanjuan over 10 years ago
- % Done changed from 0 to 100
- Resolution set to fixed
#3 Updated by Hector Sanjuan over 10 years ago
Fix is now upstream
#4 Updated by Hector Sanjuan over 10 years ago
- Status changed from New to Closed