Error at compilation after upgrade

Please post all questions relating to using Help+Manual version 10 here.

Moderators: Alexander Halser, Tim Green

Post Reply
Swede
Posts: 66
Joined: Mon Apr 19, 2010 11:01 am

Error at compilation after upgrade

Unread post by Swede »

We recently upgraded from HM 8 to HM 10. After the upgrade, I get a "new" compiler error message when publishing a project. The published project A includes an included project B. Both projects have a number of topic files with identical names, e.g. the topic name "XYZ" appears both in project A and project B. This never caused any problems in HM 8 or previous versions, but in HM 10 I get a "Duplicate topic ID" error. Can this be sorted out without having to rename the affected topic files? (Renaming the files leads to other problems.) The error appears both for HTML/CHM and HTML5/WebHelp.
User avatar
Tim Green
Site Admin
Posts: 7818
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Error at compilation after upgrade

Unread post by Tim Green »

Hi Swede,

Those topics with duplicate IDs 100% were a problem in the previous version. The only difference is that Help+Manual didn't flag the error. If you use compile-time merging and have topic files with duplicate IDs, the second file compiled will overwrite the first one in the output. So you absolutely do need to change the topic IDs.

If you have the Premium Pack, the Toolbox configuration and power tools utility included has a tool with which you can globally add a prefix to all the topic IDs in a project to prevent issues like this. See this topic in the Premium Pack documentation:

https://www.it-authoring.com/info/pp6he ... fixes.html
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Swede
Posts: 66
Joined: Mon Apr 19, 2010 11:01 am

Re: Error at compilation after upgrade

Unread post by Swede »

OK, thanks for the information. Guess I'd better sort out the topic names once and for all. :roll:
Post Reply