Breadcrumbs not displaying for topic within reused map

Post here questions and problems related to editing and publishing DITA content.
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Breadcrumbs not displaying for topic within reused map

Post by ann.jensen »

Hi,
I have a submap that is re-used in 2 locations within my source map. I am building WebHelp output. When I navigate to the first topic within this submap, I am not seeing any breadcrumbs for it. if I remove the second reference to this submap, the breadcrumbs generate fine.
I understand that this topic output essentially lives within 2 different locations (and within 2 different maps) and wonder what the implemented approach is for handling breadcrumbs with reused maps?
Any advice appreciated,
Regards,
Ann
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Breadcrumbs not displaying for topic within reused map

Post by radu_pisoi »

Hi,

Thank you for reporting this issue.

I've managed to reproduce the problem both with DITA 1.8 and DITA 2.2. We are working to improve the Webhelp design in the next release and I hope we'll found resources to fix it.

An workaround is to duplicate the submap that you refer twice and in the second DITA map you have to set the copy-to attribute in the referenced DITA topics.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Re: Breadcrumbs not displaying for topic within reused map

Post by ann.jensen »

Hi Radu,
Thanks for your reply. I have tried to use the copy-to attribute in order to create a second version of the referenced topic as follows -

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Vendor Registration</title>
<topicref href="vendor_registration_header.dita" copy-to="vendor_registration_headerWF.dita">
<topicref href="c_register_vendor_header.dita" copy-to="c_register_vendor_headerWF.dita">
<topicref href="t_register_vendor_user_detailsWF.dita"/>
<topicref href="t_register_vendor_exec_scenarioWF.dita"/>
<topicref href="r_register_vendor_tech_detailsWF.dita"/>
</topicref>
<topicref href="c_invite_vendor.dita">
<topicref href="t_invite_vendor_user_details.dita"
copy-to="t_invite_vendor_user_detailsWF.dita"/>
<topicref href="t_invite_vendor_user_details2.dita"
copy-to="t_invite_vendor_user_details2WF.dita"/>
<topicref href="r_invite_vendor_tech_details.dita"
copy-to="r_invite_vendor_tech_detailsWF.dita"/>
<topicref href="t_invite_vendor_sample_exec_scenario.dita"
copy-to="t_invite_vendor_sample_exec_scenario.dita"/>
</topicref>
</topicref>
</map>
but while it creates the html file, it cannot be found by the generated URL which reads

Code: Select all

file:///C:/DevBranches/SystemDocumentation/development/AGS_Documentation/out/webhelp/AGS/index.html#c_register_vendor_headerWF.html
but which should be

Code: Select all

file:///C:/DevBranches/SystemDocumentation/development/AGS_Documentation/out/webhelp/AGS/index.html#dita_files/AGSSystems/AspeniProperties/vendor_registration/c_register_vendor_headerWF.html
I don't know how to make this work so that the generated path is correct.
Any advice appreciated,
Regards,
Ann
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Re: Breadcrumbs not displaying for topic within reused map

Post by ann.jensen »

Hi,
Is this the related problem
https://github.com/dita-ot/dita-ot/issues/1744
Thanks,
Ann
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Breadcrumbs not displaying for topic within reused map

Post by radu_pisoi »

Hi,

I have tried without success to reproduce your problem with the latest oXygen 17.1 which includes DITA-OT 1.8.5.

I have tried various situations with the second DITA map in a separate folder and also with the topics in a different folder than the DITA map.

For further investigations, could you send us a small DITA map project that includes also small topics at support@oxygenxml.com?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Breadcrumbs not displaying for topic within reused map

Post by Radu »

Hi,

Just to update this thread, the WebHelp classic output produced by Oxygen 18.0 should have this issue fixed.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply