Bug 540691 - condition attribute incorrect in PUG.
Summary: condition attribute incorrect in PUG.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ruediger Landmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 540685
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-23 23:20 UTC by Jared MORGAN
Modified: 2015-08-10 01:21 UTC (History)
7 users (show)

Fixed In Version: 1.3-0.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-10 04:15:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Jared MORGAN 2009-11-23 23:20:32 UTC
Description of problem:

Through experimentation as a result of BZ#540685, I discovered that the currently documented conditional formatting parameter is not correct in the Publican User Guide.

The parameter should be "condition: {parameter}" not "condition={parameter} as currently documented.  

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

PUG Edition 1.1

How reproducible:

Condition parameter is not documented correctly in the following locations:

3.6. Conditional tagging 
     - throughout this section

3.1.1. The publican.cfg file 
       - Root nodes and conditional tagging <important>
       - xrefs and conditional tagging <important>
         - upper-case CONDITION instead of the XML standard of lower-case

Steps to Reproduce:

1. Search for condition= throughout the user guide to find instances of incorrect syntax

  
Actual results:

Using the documented condition parameter results in an invalid publican.cfg file.

Expected results:

The documented parameter works as advertised.

Additional info:

The correct information depends on how the parameter is fixed in BZ#540685.

Comment 1 Jeff Fearn 🐞 2009-11-25 23:35:06 UTC
Checked in a fix, pretty sure I got them all.

Comment 2 Fedora Update System 2009-12-08 02:15:10 UTC
publican-1.3-0.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/publican-1.3-0.fc12

Comment 3 Fedora Update System 2009-12-08 02:18:30 UTC
publican-1.3-0.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/publican-1.3-0.fc11

Comment 4 Fedora Update System 2009-12-10 04:14:07 UTC
publican-1.3-0.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2009-12-10 04:26:58 UTC
publican-1.3-0.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.