Bug 748657

Summary: Empty <productversion> causes install_book to fail silently.
Product: [Community] Publican Reporter: eric
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.8CC: dmacpher, mhideo, mmcallis, rlandman+disabled, rlandman
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-31 03:11:16 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 eric 2011-10-25 02:44:37 UTC
Description of problem: Empty <productversion> causes install_book to fail silently.  Adding <productversion>, or "version:" in publican.cfg, fixes the problem.

Version-Release number of selected component (if applicable): 2.8-1.fc16

Additional Information: Also seen in fc15 version as well.

Comment 1 Jeff Fearn 🐞 2012-03-13 06:22:56 UTC
This error should be caught much sooner. Improved constraint validation.

Pushed To ssh://git.fedorahosted.org/git/publican.git
   9b37295..55c8a86  master -> master

Comment 2 Michael Hideo 2012-06-08 01:47:58 UTC
stand up publican website, get a book, remove product version from bookinfo file, build book, then install the book on the website. verify the book does not install and you get an error std out.

Comment 3 Dan Macpherson 2012-06-16 02:01:27 UTC
Empty <productversion> no longer silent. Received error message for empty <productversion>:

Invalid format for version. Value (EMPTY) does not conform to constraint (^[0-9]) at /usr/bin/publican line 634

Setting to VERIFIED.

Comment 4 Dan Macpherson 2012-06-16 04:53:42 UTC
^^ Checked publican-3.0-0.fc17.t180.noarch on Fedora 17