Bug 873483 - RFE: [WebTrans] should report to user when server is down or connection is lost
Summary: RFE: [WebTrans] should report to user when server is down or connection is lost
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Usability
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.0
Assignee: Patrick Huang
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
: 872041 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-06 00:25 UTC by Patrick Huang
Modified: 2013-02-26 03:46 UTC (History)
3 users (show)

Fixed In Version: 2.0.3-SNAPSHOT (20121127-0017)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-26 03:46:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 860128 0 unspecified CLOSED RFE-[WebTrans] Save Failed should return human readable message instead of error code 2021-02-22 00:41:40 UTC

Internal Links: 860128

Description Patrick Huang 2012-11-06 00:25:04 UTC
Description of problem:
When user enter WebTrans, if server is down or connection is lost, client is still not notified by this. When then perform an action needs to call the server, they will get back an specific error but not knowing the root cause. In some occasion error may only get logged into console and hidden from user.

Version-Release number of selected component (if applicable):
2.0-

How reproducible:
Always

Steps to Reproduce:
1.Go to WebTrans translation editor
2.Shutdown server
3.Perform an action like selecting a translation unit, search in project or save a translation
  
Actual results:
An specific error will show, i.e. search failed, TM or glossary result not coming back but logs an error in browser console.

Expected results:
Client should be notified that the connection to server has lost and they should refresh their browser to make sure the connection is still live.

Additional info:

Comment 1 Patrick Huang 2012-11-06 02:34:38 UTC
committed into master:
https://github.com/zanata/zanata/commit/a71292921aca760f228e9131e45feeb0560bb629

Comment 2 Ding-Yi Chen 2012-11-08 05:37:47 UTC
VERIFIED with Zanata version 2.1-SNAPSHOT (20121108-1439)

Comment 3 Sean Flanigan 2012-11-09 01:53:17 UTC
Please test on 2.0-SNAPSHOT as well.

Comment 4 Patrick Huang 2012-11-15 07:22:29 UTC
*** Bug 872041 has been marked as a duplicate of this bug. ***

Comment 5 Alex Eng 2012-11-27 04:43:41 UTC
Message "No response from server. Please refresh your page and make sure server is still up." is shown when connection lost.

Verified in Zanata version 2.0.3-SNAPSHOT (20121127-0017).


Note You need to log in before you can comment on or make changes to this bug.