Bug 866270

Summary: Strings with failed save-operations disappear when using filtered view
Product: [Retired] Zanata Reporter: Hedda Peters <hpeters>
Component: Component-UIAssignee: Patrick Huang <pahuang>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: unspecified Docs Contact:
Priority: high    
Version: 1.7CC: mkim, pahuang, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hedda Peters 2012-10-15 00:53:32 UTC
Description of problem:
When using filters on the workspace (showing untranslated only) a failed save operation on a previously saved string means that this string disappears from the workspace when the workspace reloads. The steps to reproduce might make this clearer...


Version-Release number of selected component (if applicable):
noticed on translate.engineering.com

How reproducible:
occasionally

Steps to Reproduce:
1. open a workspace and apply filters (show only untranslated)
2. translate some strings to make them approved
3. go back to one of the now approved strings to correct a mistake you made
4. - occasionally the save operation of this re-editing of an approved string fails
  
Actual results:
If this save operation in step 4 fails, the workspace will reload. On the reloaded workspace, only untranslated strings appear according the the filters you set earlier. The string on which your edit failed disappeared. You'll have to change your filter options and use the search in order to find and re-do the edit.


Expected results:
The workspace shouldn't reload, to give you the chance to save your edit properly.

Additional info:

Comment 1 Michelle Kim 2012-11-13 01:16:54 UTC
Hi Hedda,

Are you able to reproduce this bug in 2.0? I tried but wasn't able to. Please verify and let me know if this issue still exists in 2.0 onwards.

Thanks, Michelle

Comment 2 Hedda Peters 2012-11-13 01:23:42 UTC
I can't reproduce a failed save operation. 

So I can't really verify if this issue, other than keeping my eye open.

Comment 3 Patrick Huang 2012-11-15 07:19:26 UTC
With the 2.0 editor rewrite, a failed save will NOT trigger workspace reload. Verified locally.

Comment 5 Ding-Yi Chen 2012-11-27 05:21:12 UTC
VERIFIED with Zanata version 2.0.3-SNAPSHOT (20121127-0017)