Bug 759994
Summary: | Editor table stops working after 'Source and Target' search returns no results | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | David Mason <damason> |
Component: | Component-UI | Assignee: | Alex Eng <aeng> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Ding-Yi Chen <dchen> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 1.4.3-SNAPSHOT | CC: | jwulf, sflaniga, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 1.4.4-SNAPSHOT (20111206-1747) | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-13 01:52:12 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: | 760842 |
Description
David Mason
2011-12-05 06:32:09 UTC
Possible workarounds: (a) go back to document list and select a different document, or (b) reload page with F5. Bug fixed in 1.4. See https://github.com/zanata/zanata/commit/4bf069930b4895cea55d9ac09162d2bbbab0570f merged to 1.5 VERIFIED with Zanata version 1.4.4-SNAPSHOT (20111206-1747) yet problem still exist in Zanata version 1.5-SNAPSHOT (20111201-1521) VERIFIED with Zanata version 1.5-SNAPSHOT (20111209-1504) REVERIFIED with staging machine Zanata version 1.4.4 (20111211-2301) RELEASE NOTES TEXT: Cause: Users may search through a document in the online translation editor for occurrences of a search term. Both original strings and any translations are searched for occurrences of the search term. When a successful match is found, it is highlighted in the translation editor. In the case where no match was found, the editor attempted to highlight a non-existent string. Consequence: When a search returned no results in the document currently loaded in the translation editor, the translation editor contents would blank out, requiring the page to be reloaded. Fix: The code was modified so that the translation unit highlighting occurs only when an occurrence of a search term is located in the translation editor. If no occurrences of the search term are located, no highlighting takes place. Result: Searches with no results no longer cause the translation editor to blank out. |