Bug 909026 - Unexpected error when trying to download config file when project-type not set on version
Summary: Unexpected error when trying to download config file when project-type not se...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: WebSite
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 2.2
Assignee: Alex Eng
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-08 05:14 UTC by David Mason
Modified: 2013-11-27 03:34 UTC (History)
1 user (show)

Fixed In Version: 2.2-SNAPSHOT (20130215-1232)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-27 03:24:04 UTC
Embargoed:


Attachments (Terms of Use)

Description David Mason 2013-02-08 05:14:04 UTC
Description of problem:
When trying to download config file for a version that does not have a specific project type set, an error occurs and it is not possible to download the config file.

Version-Release number of selected component (if applicable):
2.2-SNAPSHOT (20130208-1232)

How reproducible:
Always


Steps to Reproduce:
1.Sign in and navigate to any version that has not had projectType set
  (note that the projectType may be set on the parent project)
2.Click "config file"
  
Actual results:
Shows error page with "Unexpected error. Please try again. [ Request: /error.seam?cid=48 ]"

Expected results:
Config file can download regardless of projectType setting. projectType setting on project should be inherited by version

Additional info:
This appears to be caused by the code that generates the config file assuming that there will always be a project type setting on each version, and a lack of inheriting project type properly from project to version

Comment 1 Alex Eng 2013-02-12 03:08:34 UTC
Fixed in Zanata-server 2.2

See
https://github.com/zanata/zanata/commit/7973d5db338578e89fa6b56576cf9f3b75a2526c

Comment 2 Ding-Yi Chen 2013-02-15 07:44:45 UTC
VERIFIED with Zanata version 2.2-SNAPSHOT (20130215-1232)

Comment 3 Sean Flanigan 2013-11-27 03:14:22 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 4 Sean Flanigan 2013-11-27 03:16:09 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 5 Sean Flanigan 2013-11-27 03:17:45 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 6 Sean Flanigan 2013-11-27 03:24:04 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 7 Sean Flanigan 2013-11-27 03:32:21 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 8 Sean Flanigan 2013-11-27 03:34:38 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.


Note You need to log in before you can comment on or make changes to this bug.