Bug 820795

Summary: project-wide search not displaying properly if source string is too long
Product: [Retired] Zanata Reporter: Joyce Chang <jochang>
Component: Component-UIAssignee: David Mason <damason>
Status: CLOSED CURRENTRELEASE QA Contact: Joyce Chang <jochang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.6-SNAPSHOTCC: damason, petersen, zanata-bugs
Target Milestone: ---   
Target Release: 1.6-beta-1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Zanata version 1.6.0-beta-2-SNAPSHOT (20120518-0026). Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-22 00:58:28 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:
Attachments:
Description Flags
screenshot none

Description Joyce Chang 2012-05-11 01:23:30 UTC
Description of problem:
Search a word from source against translated entries, the result didn't display correctly if source string is too long


Version-Release number of selected component (if applicable):

How reproducible:
always

Steps to Reproduce:
1.visit a project with sufficiently long source entries against translated entries,e.g.aboutFedora
2.search a word close to the end, from a long source entry 
  
Actual results:
search results displaying source entry was cut short, not showing search word

Expected results:
search results would show search word rendered from source entry 

Additional info:

Comment 1 Joyce Chang 2012-05-11 01:26:33 UTC
Created attachment 583692 [details]
screenshot

Comment 2 David Mason 2012-05-17 07:39:11 UTC
Fixed in 1.6-beta-1

See: https://github.com/zanata/zanata/commit/556d8f61cdc4b16eb20dda3b4ba8bc8404d917e6

Comment 3 Joyce Chang 2012-05-18 03:54:54 UTC
verified in Zanata version 1.6.0-beta-2-SNAPSHOT (20120518-0026).