Bug 894933 - False positive in validation warning for missing/unexpected variables
Summary: False positive in validation warning for missing/unexpected variables
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-14 03:39 UTC by Hedda Peters
Modified: 2014-03-06 05:55 UTC (History)
2 users (show)

Fixed In Version:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-03-06 05:55:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Hedda Peters 2013-01-14 03:39:25 UTC
Description of problem:
The following msgid/msgstr causes a false positive in the validation warnings:

msgid: "... which allows curly brackets (<literal>{</literal> and <literal>}</literal>) to be used..."

msgstr: "... geschweifte Klammern (<literal>{</literal> und <literal>}</literal>) erlaubt..."


Steps to Reproduce:
See URL provided in next (private) comment.
  
Actual results:
Validation warnings: Missing variable: {</literal> and <literal>}
Unexpected variable: {</literal> und <literal>} as soon as you translate "and".

Expected results:
No validation warning, "and" should be translatable

Additional info:
This seems like a rather rare constellation of tags/brackets and doesn't pose a big problem or anything. Low impact/priority.

Comment 3 David Mason 2013-05-01 02:47:14 UTC
Note: Comment 1 and Comment 2 are just links to an example row on a non-public server. They are hidden to prevent frustration trying to follow the links from outside the VPN, which won't work.

Comment 4 David Mason 2013-05-01 02:51:17 UTC
This warning is caused by the Java Variables Validator, which may not be appropriate to run against this project. If Java variables aren't used in this project, the appropriate action here would be to deactivate that particular validator for the project.

Comment 5 Damian Jansen 2014-03-06 05:55:19 UTC
Closing because:
- minor issue
- seems to be a difficult fix for the value gained
- rare occurrence
- there's a "workaround" (indicated above)


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