Skip to content

Multiple topic references of same topic in map fails with preprocess2 #111

@chrizzbee

Description

@chrizzbee

Hi all

I'm using this latest plugin version together with OT 3.7.4.

When I have a map, that contains multiple topic references of the same topic in the map, the out-of-the box behaviour in the plugin with preprocess works. The Word output contains the topic as defined in the map, which is correct.

However, I use preprocess2 to correctly resolve all key references from the beginning. I just noticed that when using preprocess2 multiple topic references are not included anymore in the final Word file.

See the error log:

With preprocess

docx.merge:
[pipeline] Processing file:/C:/Users/christian.brand/oxygenOut/temp/main.ditamap
[pipeline] Processing file:/C:/Users/christian.brand/oxygenOut/temp/myTitle.dita
[pipeline] Processing file:/C:/Users/christian.brand/oxygenOut/temp/myTitle_2.dita

With preprocess2

docx.merge:
[pipeline] Processing file:/C:/Users/christian.brand/oxygenOut/temp/oxygen_dita_temp/main.ditamap
[pipeline] Processing file:/C:/Users/christian.brand/oxygenOut/temp/oxygen_dita_temp/myTitle.dita
[pipeline] file:/C:/Users/christian.brand/Downloads/docx_compare/main.ditamap:9:33: [DOTX008E][ERROR] File 'file:/C:/Users/christian.brand/oxygenOut/temp/oxygen_dita_temp/7c0ff47b3efd49606c20fc95b956ab53451f85da.dita' does not exist or cannot be loaded.
[pipeline] Processing file:/C:/Users/christian.brand/oxygenOut/temp/oxygen_dita_temp/myTitle_2.dita

@jelovirt : Jarno, if you find some time, please have a look into this issue. It would be great to come up with a fix or an explanation.

I add here an example map: mapExample.zip

Thanks a lot
Chris.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions