Bug 888096 - [WebTrans] project become read only with editor options panel open will still allow user to change editor options
Summary: [WebTrans] project become read only with editor options panel open will still...
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic, Usability
Version: development
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 2.1
Assignee: Patrick Huang
QA Contact: Ding-Yi Chen
Depends On:
TreeView+ depends on / blocked
Reported: 2012-12-18 00:49 UTC by Patrick Huang
Modified: 2013-02-26 04:06 UTC (History)
1 user (show)

Fixed In Version: 2.1-SNAPSHOT (20121219-0033)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-02-26 04:06:26 UTC

Attachments (Terms of Use)

Description Patrick Huang 2012-12-18 00:49:08 UTC
Description of problem:
When user is on translation editor and with editor options panel open, change project iteration to read only from another browser session. Buttons will be hidden but editor options panel is still visible and accessible. User then is able to re-enable display buttons and copy from source etc to trigger a save (which will fail on server).

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

How reproducible:

Steps to Reproduce:
1. Open translation editor and open editor options panel
2. Open another browser tab and go to the same project iteration and change iteration to read only
3. Go back to original tab and noticed the editor become read only but editor options is still visible
4. Enable 'Editor buttons' option and buttons are shown again
5. Click on 'Copy from source' button and source will be copied into editor!!
6. Navigate to a different row and it will trigger a save
Actual results:
Save will fail eventually and bring up notification panel and by this time the editor options panel is hidden as per expected.

Expected results:
Once workspace become read only, editor options panel should become invisible immediately so that user won't be able to mess with the UI. 

Additional info:

Comment 1 Patrick Huang 2012-12-18 02:02:55 UTC
committed into master:

Comment 2 Ding-Yi Chen 2012-12-19 04:15:38 UTC
VERIFIED with Zanata version 2.1-SNAPSHOT (20121219-0033)

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