Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1146177

Summary: Pushing partial source .pot documents shouldn't delete the entries not present in the file
Product: [Retired] Zanata Reporter: Thiago <taraujo>
Component: Component-zanata-clientAssignee: Damian Jansen <djansen>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3CC: zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 02:50:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thiago 2014-09-24 16:39:37 UTC
User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
Build Identifier: 

Importing big .pot source documents with msgctxt takes a long time to complete. The current set of documents I'm using are taking more than half an hour to complete.

**** Currently there is no way of PUSHing only the delta to the source documents. The PUSH process acts like a synchronization, deleting server entries that are not present in the .pot files. ****

This makes the process slower and more server/database intensive, when integrating with Continuous Integration environments. It might also generate more unnecessary historical data in the database, causing it to grow too fast in a continuous integration environment.



Reproducible: Always

Steps to Reproduce:
1. Using zanata-cli, push an example.pot file with 2 entries
2. Using zanata-cli, push a second example.pot (same filename/document), with a third distinct entry (the ones from the first file are not there).
3. In Zanata website, open this document for translation in any language.
Actual Results:  
The first 2 entries imported with the first file are not available

Expected Results:  
All 3 imported entries should be available

If this is not default, there should be an --option to avoid deleting source document messages.

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