Bug 848610 - id's are not preserved on pocedure tags in html formats
Summary: id's are not preserved on pocedure tags in html formats
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 3.0
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-16 01:42 UTC by Tomas Dabašinskas
Modified: 2012-10-31 03:11 UTC (History)
3 users (show)

Fixed In Version: 3.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-31 03:11:13 UTC
Embargoed:
juwu: needinfo-


Attachments (Terms of Use)

Description Tomas Dabašinskas 2012-08-16 01:42:36 UTC
Description of problem:

In Monitoring.xml we have <procedure id="proc-Administration_Guide-Monitoring-Monitoring_the_state_of_Red_Hat_Update_Infrastructure">.....</procedure>
to which RHUI_Manager.xml is pointing with <xref linkend="proc-Administration_Guide-Monitoring-Monitoring_the_state_of_Red_Hat_Update_Infrastructure" />

<div class="procedure"> html tag is generated instead of <div class="procedure" id="proc-Administration_Guide-Monitoring-Monitoring_the_state_of_Red_Hat_Update_Infrastructure"> 

it works fine on publican 2.8


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

How reproducible:
make xref to procedure tag

  
Actual results:
<div class="procedure"> 

Expected results:
 <div class="procedure" id="some id"> 


Additional info:
works for section and chapter tags

Comment 1 Tomas Dabašinskas 2012-08-17 00:55:59 UTC
same behavior on tables:

table with id:  <table id="tb-resource-agent-summary-CA"> in xml

is generated as
<div class="table"> in publican 3
<div class="table" id="tb-resource-agent-summary-CA"> in publican 2.8

thus making links like: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Cluster_Administration/ap-ha-resource-params-CA.html#tb-resource-agent-summary-CA invalid

Comment 2 Jeff Fearn 🐞 2012-08-17 06:09:47 UTC
The fix for #788576 was too aggressive, found a gentler way to remove duplicate IDs.

To ssh://git.fedorahosted.org/git/publican.git
   a55d953..aa33a03  master -> master

Comment 3 Ruediger Landmann 2012-08-18 00:26:30 UTC
Verified in build publican-3.0-0.fc17.t222.noarch

Comment 5 Julie 2012-08-21 01:01:28 UTC
Thanks for clarification from Rudi, need info cancelled.


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