Bug 465201

Summary: translation reports fail on short form languages
Product: [Community] Publican Reporter: Jeff Fearn 🐞 <jfearn>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.6CC: jfearn, mmcallis, publican-list
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.38 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-02 04:48:40 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 Jeff Fearn 🐞 2008-10-02 04:47:08 UTC
Description of problem:
Translation reports fail to generate on languages which consist of a two character language prefix. e.g. es-ES works but es fails.

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

How reproducible:
Always

Steps to Reproduce:
1. Add a two character language to a book
2. make publish-report
3.
  
Actual results:
"Use of uninitialized value $language in string eq at
/usr/bin/StSe_Reports line 72."

Expected results:
Shiny translation report

Additional info:

Comment 1 Jeff Fearn 🐞 2008-10-02 04:48:40 UTC
Fixed uninitialized value.

Reworked HTML and CSS since they hurt my eyes.

Comment 2 Fedora Update System 2008-10-16 22:43:43 UTC
publican-0.38-0.fc9,perl-XML-TreeBuilder-3.09-11.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/publican-0.38-0.fc9,perl-XML-TreeBuilder-3.09-11.fc9

Comment 3 Fedora Update System 2008-11-07 02:54:59 UTC
publican-0.38-0.fc9, perl-XML-TreeBuilder-3.09-11.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.