Red Hat Bugzilla – Bug 1030746
Download of offline translation zip fails: Mapping id to msgctxt, but there is already a msgctxt for text flow id
Last modified: 2014-02-18 01:48:34 EST
Created attachment 824288 [details]
Description of problem:
Download of offline translation zip fails with the log message: "Mapping id to msgctxt, but there is already a msgctxt for text flow id"
Version-Release number of selected component (if applicable):
Zanata version 3.2-SNAPSHOT (20131114-1743)
Steps to Reproduce:
1. Visit the documents page for a language in a project iteration (with project type = gettext) [Tested with authconfig 6.1.12-8 (Italian)]
2. Click Download All Files (zip), say Ye
In some cases, download progress bar never terminates. Otherwise, it redirects to a generic error page.
Multiple server exceptions logged (see attachment for details):
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Mapping id to msgctxt, but there is already a msgctxt for text flow id
java.lang.IllegalStateException: CDATA tags may not nest
Downloads a zip file containing zanata.xml and po files
Downloading the zip via the editor seems to be working.
This exception happens (can happen) when a PO project is treated as a non-PO project (using the 'offlinepo' format). In this case, the project had its type set correctly, but the JSF page was using the wrong value for isPoProject.
Bug confirm in Zanata version 3.1.3-SNAPSHOT (20131127-0023)
VERIFIED with Zanata version 3.2-SNAPSHOT (20131127-0039)