Bug 795615

Summary: Webtran failed to stay at current page if previous page contains large chunk of text translation.
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: Component-ScriptsAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: high Docs Contact:
Priority: high    
Version: 1.5CC: sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.5.0-alpha-2-SNAPSHOT (20120223-1307) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-07 00:08:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 786670    

Description Ding-Yi Chen 2012-02-21 04:08:07 UTC
Description of problem:
If we fill the page 1 with large translation, clicking on last entries in page 2 won't open the editor, instead, it keep fall back to page 1.

Version-Release number of selected component (if applicable):
Zanata version 1.5-SNAPSHOT (20120216-2319)

How reproducible:
Always

Steps to Reproduce:
1. Copy a large chunk of text, say Ctrl-A and Ctrl-C on https://community.jboss.org/wiki/Zanata?_sscc=t
2. Open a document that has multiple pages, such as Fedora Security Guide-> document Firewall
3. Paste the large chunk of text to 4th last entry
4. Paste the large chunk of text to 3rd last entry
5. Paste the large chunk of text to 2nd last entry
6. Paste the large chunk of text to last entry
7. Click on next page, you should be at page 2
8. Click at 2nd last entry
  
Actual results:
Page change to page 1

Expected results:
Page stay at page 2, and editor open on 2nd last entry.

Additional info:
It looks like it's easier to trigger this bug by working on the bottom part of page.

Comment 3 Ding-Yi Chen 2012-02-23 03:39:31 UTC
VERIFIED with Zanata version 1.5.0-alpha-2-SNAPSHOT (20120223-1307)