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+disabled>
Severity: medium Docs Contact:
Priority: low    
Version: 2.4CC: mmcallis, publican-list, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-26 00:42:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Fearn 🐞 2010-12-08 23:27:09 UTC
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):
2.4

How reproducible:
Always.

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-09 00:54:15 UTC
Added croak if FOP failes.

Fixed in build: 2.5-1%{?dist}.t2

Comment 2 Jeff Fearn 🐞 2011-07-01 11:03:22 UTC
Back ported to branches/publican-2x

Committed revision 1795.