Bug 612009 - RFE: Website -- Include redirects to all installed languages
RFE: Website -- Include redirects to all installed languages
Status: CLOSED ERRATA
Product: Publican
Classification: Community
Component: publican (Show other bugs)
1.6
All Linux
low Severity medium
: ---
: ---
Assigned To: Jeff Fearn
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-06 22:33 EDT by Ruediger Landmann
Modified: 2010-11-23 23:19 EST (History)
4 users (show)

See Also:
Fixed In Version: publican-2.2-0.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-10-08 16:42:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Ruediger Landmann 2010-07-06 22:33:45 EDT
Description of problem:
Publican-generated websites include an index.html page that redirects visitors to localised versions of the home page. At the moment, only a limited group of hard-coded languages are supported. Publican should generate redirects for every language published on the site

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

How reproducible:
100%

Steps to Reproduce:
1. Generate a website with the "create_site" command
2. Look in index.html
3. look for the line that starts: var locales = 
  
Actual results:
Fixed list of languages

Expected results:
List of languages updated to reflect site content.

Additional info:
The workaround is to hand-edit the index.html file. You need to make the same change any time you run "update_site" because this command rewrites the file.
Comment 1 Jeff Fearn 2010-08-05 23:07:56 EDT
Added template and code to regenerate this file when the tocs are updated.

Fixed in build: 2.1-0%{?dist}.t23
Comment 2 Ruediger Landmann 2010-08-06 01:24:54 EDT
Verified in 2.1.t26 -- locales match the installed languages.
Comment 3 Fedora Update System 2010-10-06 01:48:49 EDT
publican-2.2-0.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc13
Comment 4 Fedora Update System 2010-10-06 01:50:07 EDT
publican-2.2-0.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc12
Comment 5 Fedora Update System 2010-10-06 01:50:10 EDT
publican-2.2-0.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc14
Comment 6 Fedora Update System 2010-10-08 16:40:15 EDT
publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

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