Hide Forgot
Created attachment 824288 [details] server.log 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) How reproducible: Consistently 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 Actual results: 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 Expected results: Downloads a zip file containing zanata.xml and po files Additional info: Downloading the zip via the editor seems to be working.
https://github.com/zanata/zanata-server/pull/273 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)