Bug 1037920

Summary: Xml parser error on exporting an obsolete project to TMX
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-LogicAssignee: Sean Flanigan <sflaniga>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: developmentCC: dchen, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-31 01:49:16 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:

Description Damian Jansen 2013-12-04 04:40:50 UTC
Description of problem:
If a project owner / admin views an obsolete project and presses "Export project to TMX" the are presented with the error:

<parsererror>
XML Parsing Error: syntax error Location: http://localhost:9898/zanata/rest/tm/projects/about-fedora Line Number 1, Column 1:
<sourcetext>Project 'about-fedora' not found. ^</sourcetext>
</parsererror>

Version-Release number of selected component (if applicable):
3.3

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as admin
2. Go to any obsolete project (make one Obsolete if need be)
3. Press "Export project to TMX"

Actual results:
Parser error

Expected results:
Perhaps the button should not be available.

Additional info:

Comment 1 Zanata Migrator 2015-07-31 01:49:16 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-559