Bug 916830 - False positive in validation warnings, comparing wrong entries
Summary: False positive in validation warnings, comparing wrong entries
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 2.2
Assignee: Patrick Huang
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-01 04:33 UTC by Hedda Peters
Modified: 2013-11-27 03:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-27 03:23:09 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.