Bug 1014423

Summary: RFE: Warning should be shown when pushing invalid translation at warning validation level
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: UsabilityAssignee: Michelle Kim <mkim>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1013942 Environment:
Last Closed: 2015-07-29 02:50:57 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:
Bug Depends On: 1006063    
Bug Blocks:    

Description Ding-Yi Chen 2013-10-02 01:00:44 UTC
+++ This bug was initially created as a clone of Bug #1013942 +++

Description of problem:

As a project maintainer, I would like warning messages to be shown whenever invalid translations are pushed by client when the validation level is Warning.

This bug is similar to Bug 1013942, except it address client push.

Version-Release number of selected component (if applicable):
Zanata version 3.1-SNAPSHOT (20131001-1235)

How reproducible:
Always

Steps to reproduce:

- Data preparation:
  * Project Setting: As a project maintainer:
   a. Set the validation level to Error on "printf"
   b. Set the validation level to warning on "tab"
  * Document preparation:
   a. 1st translation is valid
   b. 2nd translation trigger the both error and warning (such as excess %d and excess tab)
   c. 3rd translation trigger the error (such as excess %d)
   d. 4th translation trigger the warning (such as excess tab \t)
   e. 5th translation and rest are empty.

I. Pushing by client:
  1. mvn -B -e zanata:push -Dzanata.pushType=trans

 Expected:
   Warning messages should be shown for 2nd translation and 4th translation.

 Actual:
   Warning messages was NOT shown for 2nd translation and 4th translation.

Additional info:
Test Basis: https://github.com/zanata/zanata-server/wiki/Translation-Validation

Comment 2 Damian Jansen 2015-07-14 00:20:50 UTC
Reassigned to PM

Comment 3 Zanata Migrator 2015-07-29 02:50:57 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-230