This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes

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   
Fixed In Version: 0.38 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-02 00:48:40 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jeff Fearn 2008-10-02 00:47:08 EDT
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):

How reproducible:

Steps to Reproduce:
1. Add a two character language to a book
2. make publish-report
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 00:48:40 EDT
Fixed uninitialized value.

Reworked HTML and CSS since they hurt my eyes.
Comment 2 Fedora Update System 2008-10-16 18:43:43 EDT
publican-0.38-0.fc9,perl-XML-TreeBuilder-3.09-11.fc9 has been submitted as an update for Fedora 9.,perl-XML-TreeBuilder-3.09-11.fc9
Comment 3 Fedora Update System 2008-11-06 21:54:59 EST
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.