Page 1 of 1

Chunked topics display in the side TOC when they should be hidden

Posted: Thu Sep 23, 2021 7:53 pm
by rjcbop
We've encountered a scenario where chunked topics display in the side TOC when they should be hidden (i.e., because webhelp.publication.toc.hide.chunked.topics is set to the default value of 'yes'). We're using the 2021061407 build of oXygen 23.1 and this issue appears in the webhelp responsive output.

Here is a sample test map that shows the issue:

<map id="test" class="- map/map ">
<topichead navtitle="Test tile">
<topichead navtitle="Test topichead 1">
<topicref href="test/parent_topic_1.dita" chunk="to-content">
<topicref href="test/chunked_topic_1.dita"/>
</topicref>
</topichead>
<topichead navtitle="Test topichead 2">
<topicref href="test/parent_topic_2.dita" chunk="to-content">
<topicref href="test/chunked_topic_2.dita"/>
</topicref>
</topichead>
</topichead>
</map>

For example, when you're viewing parent_topic_1, the chunked topic associated with parent_topic_2 displays in the side TOC, as shown below:
side_TOC_chunked_issue.png
However, when you click on the link for parent_topic_2, the chunked topic for that topic no longer displays in the side TOC but the chunked topic for parent_topic_1 now displays in the side TOC.

We've noticed that the issue seems to be dependent on the presence of the <topichead> elements.

Thanks for any insights into this issue.

Re: Chunked topics display in the side TOC when they should be hidden

Posted: Mon Sep 27, 2021 3:20 pm
by marius
Hello,

We managed to reproduce this issue, which most likely is a bug on our side.
I registered an issue and we will update this post when the fix will be available.

Thank you,

Marius

Re: Chunked topics display in the side TOC when they should be hidden

Posted: Mon Sep 27, 2021 3:50 pm
by rjcbop
Thanks!