Hide Forgot
Created attachment 551214 [details] Patch for the Builder perl module to check string length when forming pdf name Description of problem: Components of a pdf filename have dashes between them regardless of the string content. PDF files are always named in the format filename is in the form product-version-docname-lang.pdf. If a version number is not provided, it will form a filename with "--" Steps to Reproduce: 1. Publish a docbook book with a blank version number Actual results: filename is in the form product--docname-lang.pdf Expected results: filename is in the form product-docname-lang.pdf I propose wrapping a conditional around the version number that checks the length of the version variable, and only adding a dash if it is greater than zero.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
This is somewhat fixed in publican-3.0-0.fc17.t216.noarch since the version number was made mandatory. If you don't specify one, you get the following error when building: Invalid format for version. Value (EMPTY) does not conform to constraint (^[0-9]) at /usr/bin/publican line 692 Please re-test and close if this issue is resolved on your system. Cheers, Martin
Fixed upstream, but the documentation process has nothing to do with the RHEL6 product.