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): 1.7 How reproducible: Always 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. Actual results: Only return results that contains translation. Expected results: Return all results with or without translation.
This was caused by a specific check for empty translation, which has now been removed. see: - 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. See: https://github.com/zanata/zanata/compare/2dfccb5c17c97b549cc914ab779cd003278c5fa0...896a1f8d3246ab20ad15d3ec7a34830596bb199f
*** Bug 856423 has been marked as a duplicate of this bug. ***
Verified with Zanata version 1.7.3-SNAPSHOT (20120913-0015)