Red Hat Bugzilla – Bug 842191
Search and replace doesn't return results with empty translation
Last modified: 2012-11-29 18:29:35 EST
Description of problem:
Search doesn't return results with empty translation even if source contain the term.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go into a document with multiple rows contain similar string in source. Remove translation in some of them.
2. Go go 'Search and replace' and search for the term.
Only return results that contains translation.
Return all results with or without translation.
This was caused by a specific check for empty translation, which has now been removed.
- code adjustment to allow fix: https://github.com/zanata/zanata/commit/1af0d67f5b270995b978f246958a21841ee619b1
- fix: https://github.com/zanata/zanata/commit/251463ea39f6aad52f75e16bca048040e692a4b8
VERIFIED with Zanata version 1.8.0-SNAPSHOT (20120810-0025).
Not this fix does not intend to apply to 1.7 and earilier servers.
Cherry-picked above adjustment and fix to 1.7 branch.
*** Bug 856423 has been marked as a duplicate of this bug. ***
Verified with Zanata version 1.7.3-SNAPSHOT (20120913-0015)