Bug 866270 - Strings with failed save-operations disappear when using filtered view
Summary: Strings with failed save-operations disappear when using filtered view
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 1.7
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 2.0
Assignee: Patrick Huang
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-15 00:53 UTC by Hedda Peters
Modified: 2013-02-26 03:46 UTC (History)
4 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:17 UTC
Embargoed:


Attachments (Terms of Use)

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)


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