Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue with copy-to on sub-topics with locktitles #3372
The topic should use the navtitle defined in the map when @locktitle=yes.
Note: @copy-to and @locktitle works when used at the same level as the original topic.
Instead topic is using the title of the first instance of the topic when topic is referenced as a sub-topic.
Fix copy-to to use the navtitle defined in the map
Steps to Reproduce
Create ditamap with topic re-used as a sub topic
Copy of the error message, log file or stack trace
I think this is a general problem in the module that collects metadata and cascades metadata. We had some issues open with that in the past, where using the same file results in overlapping metadata, with a result where the two copies do not use the right version.
I reproduced this with the
The incorrect results can be seen building to HTML5 (in