Description of problem a replace from project-wide search won't work unless the page is refreshed This problem arises randomly but mostly like happens when result entries rendered by project-wide search are within one document. Version-Release number of selected component (if applicable): 1.6.0-beta-2 How reproducible: always Steps to Reproduce: 1.visit a project with one document only 2.pick up a word from translated text 3.search that word using "Project wide search and replace" 4.type "replace" in "Replace with:" field 5.click replace on result entries 6.click "view in editor" Actual results: target entry remained unchanged Expected results: text "replace" replaced the word you picked in the target entry Additional info: if search results are existing more one document, this issue is less likely to happen
Note that this bug is about the replaced text not being displayed in the editor view - the replacement displays correctly in the search-replace view.
Fixed in 1.6 See: https://github.com/zanata/zanata/commit/2b949ed3822c1d48e1248e5a77464a7e64901c77 https://github.com/zanata/zanata/commit/e726cfa4112e3f08cc4c7a1f5b0f90763bc9cbf5
Verified with Zanata version 1.6.1-SNAPSHOT (20120606-0019)