Bug 720656

Summary: Entities ignored in filename
Product: [Community] Publican Reporter: John J. McDonough <wb8rcr>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED WONTFIX QA Contact: Ruediger Landmann <rlandman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.6CC: mmcallis, publican-list, r.landmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-05 00:30:49 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description John J. McDonough 2011-07-12 08:06:08 EDT
Description of problem:
The productname and productnumber are used to form the filename for pdf and epub documents.  However, if an entity from document_name.ent is used in these places (which would normally be the case), they are omitted from the filename, causing the filename to begin with a double hyphen.

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

How reproducible:
reproduceable

Steps to Reproduce:
1. In Book_Info.xml:
    <productname>&PRODUCT;</productname>
    <productnumber>&PRODVER;</productnumber>
2. publican build -l en-US -f pdf,epub
3. ls tmp/en-US
   ls tmp/en-US/pdf
  
Actual results:
--docname.pdf (or epub)

Expected results:
product-version-docname.pdf

Additional info:
Comment 1 Ruediger Landmann 2011-08-22 01:54:01 EDT
Redirecting upstream.
Comment 2 Jeff Fearn 2011-09-05 00:30:49 EDT
The data used for packaging does not use the XSL system and therefore can not use content that requires XSLT processing to calculate the content.

This is a known limitation and will not be changing in the foreseeable future.