Bug 1313652

Summary: Building book with brands fails if used --common_content
Product: [Community] Publican Reporter: Elena Mishina <lepata2002>
Component: publicanAssignee: Nobody <nobody>
Status: NEW --- QA Contact: Ruediger Landmann <rlandman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: futureCC: cbredesen, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Elena Mishina 2016-03-02 06:58:01 UTC
Description of problem:
I am trying to change the brand of my book from 'common' to 'my-brand'. I don't want to use install-brand (it requires root privileges). I'm trying to use --common_content=s override path to Common_Content directory. But build fails.


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


How reproducible:


Steps to Reproduce:
1. Create a book:
publican create --type Book --lang ru-RU --name Sample --brand my-brand
2. copy folder Common_Content/my-brand into ru-RU
3. Build book:
cd Sample
publican build --formats html-single --langs ru-RU --common_content ru-RU/Common_Content

Actual results:
Setting up ru-RU
Can not copy files ru-RU/Common_Content/common/en-US/* to tmp/ru-RU/xml/Common_Content due to error:  at /usr/share/perl5/Publican/Builder/DocBook4.pm line 381.



Expected results:
Success build

Additional info:
for publican 3.0 it's worked well.
If I install my-brand for publican 4.3.2 it's worked well.