Bug 916830

Summary: False positive in validation warnings, comparing wrong entries
Product: [Retired] Zanata Reporter: Hedda Peters <hpeters>
Component: Component-UIAssignee: Patrick Huang <pahuang>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aeng, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 03:23:09 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:

Description Hedda Peters 2013-03-01 04:33:38 UTC
Description of problem:
Under certain (which??) circumstances the validation check for html tags produces false positives. These false positives seem to match the entry the user had open just previous to the one now showing the warning. (i.e. the validation check is comparing the current msgstr with the previous msgid)

Version-Release number of selected component (if applicable):
Zanata version 2.2.0 (20130226-0301).

How reproducible:
sometimes

Steps to Reproduce:
1. open a message in the editor that contains html-tags
2. move to a different entry on the same page with different tags
  
Actual results:
Validation warnings are displayed that correspond to the previous entry

Expected results:
Validation warnings (if any) should correspond to the current entry

Additional info:
See private screenshot next comment

Comment 6 Patrick Huang 2013-03-05 23:05:00 UTC
committed into release branch:
https://github.com/zanata/zanata/commit/7a0b35a6d17e0ec4795825e11ba4bd087922e5fb

Please note:
Due to a build failure I can't merge it back to master. Please re-test it on master builds once this is resolved.

Comment 7 Patrick Huang 2013-03-06 00:17:23 UTC
committed into master:
https://github.com/zanata/zanata/commit/75fc1f260cec9159daec77648362c6dbaaae5c85

Comment 8 Ding-Yi Chen 2013-03-06 00:31:56 UTC
VERIFIED with Zanata version 2.2.2-SNAPSHOT (20130306-0020)

Comment 9 Ding-Yi Chen 2013-03-06 04:31:37 UTC
VERIFIED with Zanata version 2.3-SNAPSHOT (20130306-1233)

Comment 10 Sean Flanigan 2013-11-27 03:13:09 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 11 Sean Flanigan 2013-11-27 03:15:14 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 12 Sean Flanigan 2013-11-27 03:18:16 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 13 Sean Flanigan 2013-11-27 03:23:09 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 14 Sean Flanigan 2013-11-27 03:32:58 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 15 Sean Flanigan 2013-11-27 03:35:13 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.