Red Hat Bugzilla – Bug 832345
[Branding]The files in images directory is not correct when create a brand
Last modified: 2013-01-09 05:31:46 EST
Description of problem:
When you create a brand with publican 3.0, the publican-brand directory contains /en-US/images subdirectory, which should include image files.But the image directory is empty.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Open a terminal
2.Run the following command
$publican create_brand --name=brand_name --lang=language_code
3.Change into the publican-brand directory and check /en-US/images subdirectory contains image_left.*, image_right.*, title_logo.*, note.*, important.*, warning.*, dot.*, dot2.*, stock-go-back.*, stock-go-forward.*, stock-go-up.*, stock-home.*, h1-bg.*, watermark_draft.
The images subdirectory doesn't contain any image files.
All the image files are correct.
A newly-created brand file should not contain these images.
The images in a brand override the default images provided by the Publican "common" brand. If you do not create custom images for your brand, Publican uses the default images when you build a document.
This is a bug. Publican should be copying the images in brand-template/images/ to the new brand.
Looks like brand-template isn't being installed properly and the copy isn't being caught when it fails.
The brand template files were not being copied during publican install and the copy was not giving an error message when it failed.
Fixed installer and add error message.
d60b0f1..762f306 master -> master
Verified in 3.0.t197 -- brand is created with images directory already populated