Bug 826432
| Summary: | Concurrent editing of entries on the same page leads to editor closing and ghost translations | ||
|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Sean Flanigan <sflaniga> |
| Component: | Component-UI | Assignee: | David Mason <damason> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 1.6-SNAPSHOT | CC: | damason, zanata-bugs |
| Target Milestone: | --- | ||
| Target Release: | 1.6.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 1.6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-03 05:27:43 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
Sean Flanigan
2012-05-30 07:56:34 UTC
Made a few changes in https://github.com/zanata/zanata/commit/2b949ed3822c1d48e1248e5a77464a7e64901c77 to try to detect when the user is editing, and re-focus the editor after updates. This has two side-effects that we may want to deal with: - editor remains open when another user updates the translation they have open, but the editor contents are replaced with the new contents. - the cursor returns to the beginning of the text box when saving as fuzzy. Further checks using the new event.getUpdateType() may be useful in overcoming the side effects. Moving the editing check inside the else block may be useful. Fixed in 1.6 release candidate. Re-enabled cache clearing in row value set override method and used both value override methods for fuzzy updates in same tab of selected trans unit. Re-opening editor is still active. Fuzzy save still causes the cursor position to be set to the beginning of the editor text area. See https://github.com/zanata/zanata/commit/e726cfa4112e3f08cc4c7a1f5b0f90763bc9cbf5 VERIFIED: Zanata version 1.6.1-SNAPSHOT (20120606-0019) I believe this was really fixed in time for 1.6.0. Can we change the target release to 1.6 and close the bug? If this wasn't fixed in 1.6.0, we should add the flag technical_note so that it makes it into the 1.6.1 release notes. |