Bug 661551

Summary: Publican does not catch failed PDF builds when creating packages
Product: [Community] Publican Reporter: Jeff Fearn <jfearn>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Ruediger Landmann <rlandman>
Severity: medium Docs Contact:
Priority: low    
Version: 2.4CC: mmcallis, publican-list, r.landmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-25 20:42:51 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jeff Fearn 2010-12-08 18:27:09 EST
Description of problem:
When building packages publican does not exit when a format fails to build. This allows invalid web packages to be created.

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

How reproducible:

Steps to Reproduce:
1. Add XML known to break FOP
2. publican package --binary ...

Actual results:
RPM is built.

Expected results:
RPM build should fail.

Additional info:
Comment 1 Jeff Fearn 2010-12-08 19:54:15 EST
Added croak if FOP failes.

Fixed in build: 2.5-1%{?dist}.t2
Comment 2 Jeff Fearn 2011-07-01 07:03:22 EDT
Back ported to branches/publican-2x

Committed revision 1795.